mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Make test scene feel more like settings (width-wise)
This commit is contained in:
@ -8,6 +8,7 @@ using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Input.Handlers.Tablet;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Game.Overlays;
|
||||
using osu.Game.Overlays.Settings.Sections.Input;
|
||||
|
||||
namespace osu.Game.Tests.Visual.Settings
|
||||
@ -30,7 +31,13 @@ namespace osu.Game.Tests.Visual.Settings
|
||||
|
||||
AddRange(new Drawable[]
|
||||
{
|
||||
new TabletSettings(tabletHandler),
|
||||
new TabletSettings(tabletHandler)
|
||||
{
|
||||
RelativeSizeAxes = Axes.None,
|
||||
Width = SettingsPanel.WIDTH,
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
}
|
||||
});
|
||||
|
||||
AddStep("Test with wide tablet", () => tabletHandler.SetTabletSize(new Size(160, 100)));
|
||||
|
Reference in New Issue
Block a user