Codechange: ZOOM_LVL_SHIFT/BASE are not actually ZOOM_LVLs.
Rename to ZOOM_BASE_SHIFT and ZOOM_BASE respectively, and derive from ZOOM_LVL instead of numeric value.
This commit is contained in:

committed by
Peter Nelson

parent
3c94e81665
commit
9854553e10
@@ -104,7 +104,7 @@ IntervalTimer<TimerWindow> move_all_text_effects_interval = {std::chrono::millis
|
||||
|
||||
te.MarkDirty(ZOOM_LVL_TEXT_EFFECT);
|
||||
te.duration -= count;
|
||||
te.top -= count * ZOOM_LVL_BASE;
|
||||
te.top -= count * ZOOM_BASE;
|
||||
te.MarkDirty(ZOOM_LVL_TEXT_EFFECT);
|
||||
}
|
||||
}};
|
||||
|
Reference in New Issue
Block a user