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:
parent
9a6a0f3df5
commit
d422a65900
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user