mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-21 09:55:23 -04:00
@@ -168,7 +168,7 @@ void RosenRenderArcTrack::Paint(RenderContext& context, const Offset& offset)
|
||||
double highLightStart = 0.0;
|
||||
size_t highLightIndex = 0;
|
||||
double ratio = leftToRight_ ? GetTotalRatio() : 1 - GetTotalRatio();
|
||||
for (uint32_t index = colors_.size() - 1; index >= 0; --index) {
|
||||
for (int32_t index = static_cast<int32_t>(colors_.size()) - 1; index >= 0; --index) {
|
||||
data.color = colors_[index];
|
||||
data.color.ChangeAlpha(UNSELECT_ALPHA);
|
||||
currentStart += weights_[index];
|
||||
|
||||
Reference in New Issue
Block a user