Fix rightwards selection
This commit is contained in:
parent
bec441bd96
commit
8954e84608
@ -86,7 +86,7 @@ void ManaMenu::onTick(float dt)
|
||||
constexpr float CENTER_X = 120;
|
||||
constexpr float CENTER_Y = 190;
|
||||
constexpr float MAX_OFFSET = RADIUS / 1.5f;
|
||||
constexpr float DT_SCALE_ROTATE = 1.1f;
|
||||
constexpr float DT_SCALE_ROTATE = 1.0f;
|
||||
constexpr float DT_SCALE_UPDOWN = 1.6f;
|
||||
constexpr uint8_t ERASE_DATA[38 * 5 * 3] = {};
|
||||
|
||||
@ -126,7 +126,7 @@ void ManaMenu::onTick(float dt)
|
||||
{
|
||||
const float offset
|
||||
= (going_left ? -1 : 1) * STEP * easeOutElastic(progress - 1)
|
||||
+ STEP / 2.0f;
|
||||
+ STEP / 2.0f + (going_left ? 2 * STEP : 0);
|
||||
|
||||
// erase previous
|
||||
for (int i = 0; i < sizeof(COLORS) / sizeof(*COLORS); i++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user