Fix bounds check running too early causing tablet area to show incorrect validity

This commit is contained in:
Dean Herbert
2021-09-04 19:34:55 +09:00
parent 8d44f059ec
commit 66daa553de

View File

@ -131,9 +131,9 @@ namespace osu.Game.Overlays.Settings.Sections.Input
rotation.BindTo(handler.Rotation); rotation.BindTo(handler.Rotation);
rotation.BindValueChanged(val => rotation.BindValueChanged(val =>
{ {
tabletContainer.RotateTo(-val.NewValue, 800, Easing.OutQuint); usableAreaContainer.RotateTo(val.NewValue, 100, Easing.OutQuint);
usableAreaContainer.RotateTo(val.NewValue, 100, Easing.OutQuint) tabletContainer.RotateTo(-val.NewValue, 800, Easing.OutQuint)
.OnComplete(_ => checkBounds()); // required as we are using SSDQ. .OnComplete(_ => checkBounds()); // required as we are using SSDQ.
}, true); }, true);
tablet.BindTo(handler.Tablet); tablet.BindTo(handler.Tablet);