Fix game mode selector line regression.

This commit is contained in:
Dean Herbert 2016-12-01 17:45:21 +09:00
parent 6ccce88a0e
commit 25d3818e7a
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public ToolbarModeSelector()
RelativeSizeAxes = Axes.X,
Size = new Vector2(0.3f, 3),
Anchor = Anchor.BottomLeft,
Origin = Anchor.TopCentre,
Origin = Anchor.TopLeft,
Colour = Color4.White
}
};
@ -100,7 +100,7 @@ protected override void UpdateLayout()
base.UpdateLayout();
if (!activeMode.EnsureValid())
activeMode.Refresh(() => modeButtonLine.MoveToX(activeButton.DrawPosition.X + activeButton.DrawSize.X / 2 + padding, 200, EasingTypes.OutQuint));
activeMode.Refresh(() => modeButtonLine.MoveToX(activeButton.DrawPosition.X, 200, EasingTypes.OutQuint));
}
}
}