mirror of
https://github.com/osukey/osukey.git
synced 2025-05-31 10:27:26 +09:00
Fix "reset to full area" button not always working correctly
This commit is contained in:
parent
f1b031de9b
commit
bb762d8131
@ -111,9 +111,10 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
|||||||
if (RuntimeInfo.OS == RuntimeInfo.Platform.Windows || RuntimeInfo.OS == RuntimeInfo.Platform.Linux)
|
if (RuntimeInfo.OS == RuntimeInfo.Platform.Windows || RuntimeInfo.OS == RuntimeInfo.Platform.Linux)
|
||||||
{
|
{
|
||||||
t.NewLine();
|
t.NewLine();
|
||||||
var formattedSource = MessageFormatter.FormatText(localisation.GetLocalisedBindableString(TabletSettingsStrings.NoTabletDetectedDescription(RuntimeInfo.OS == RuntimeInfo.Platform.Windows
|
var formattedSource = MessageFormatter.FormatText(localisation.GetLocalisedBindableString(TabletSettingsStrings.NoTabletDetectedDescription(
|
||||||
? @"https://opentabletdriver.net/Wiki/FAQ/Windows"
|
RuntimeInfo.OS == RuntimeInfo.Platform.Windows
|
||||||
: @"https://opentabletdriver.net/Wiki/FAQ/Linux")).Value);
|
? @"https://opentabletdriver.net/Wiki/FAQ/Windows"
|
||||||
|
: @"https://opentabletdriver.net/Wiki/FAQ/Linux")).Value);
|
||||||
t.AddLinks(formattedSource.Text, formattedSource.Links);
|
t.AddLinks(formattedSource.Text, formattedSource.Links);
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
@ -274,6 +275,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
|||||||
sizeY.Default = sizeY.MaxValue = tab.Size.Y;
|
sizeY.Default = sizeY.MaxValue = tab.Size.Y;
|
||||||
|
|
||||||
areaSize.Default = new Vector2(sizeX.Default, sizeY.Default);
|
areaSize.Default = new Vector2(sizeX.Default, sizeY.Default);
|
||||||
|
areaOffset.Default = new Vector2(offsetX.Default, offsetY.Default);
|
||||||
}), true);
|
}), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user