1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:18:22 +08:00

Fix initial tablet size not being initialised

This commit is contained in:
Dean Herbert 2021-03-16 23:47:18 +09:00
parent 9a6a0f3df5
commit d422a65900

View File

@ -80,6 +80,11 @@ namespace osu.Game.Overlays.Settings.Sections.Input
},
}
};
}
protected override void LoadComplete()
{
base.LoadComplete();
areaOffset.BindTo(handler.AreaOffset);
areaOffset.BindValueChanged(val =>
@ -101,7 +106,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
tabletContainer.Size = new Vector2(val.NewValue.Width, val.NewValue.Height);
tabletName.Text = handler.DeviceName;
checkBounds();
});
}, true);
}
[Resolved]