1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Use more intelligent default for TouchInputActive

This commit is contained in:
Bartłomiej Dach 2023-11-06 07:44:25 +01:00
parent febd004bda
commit 11bd801795
No known key found for this signature in database

View File

@ -3,6 +3,7 @@
#nullable disable
using osu.Framework;
using osu.Game.Graphics.UserInterface;
using osu.Game.Input;
using osu.Game.Online.API.Requests.Responses;
@ -25,7 +26,7 @@ namespace osu.Game.Configuration
SetDefault(Static.LastHoverSoundPlaybackTime, (double?)null);
SetDefault(Static.LastModSelectPanelSamplePlaybackTime, (double?)null);
SetDefault<APISeasonalBackgrounds>(Static.SeasonalBackgrounds, null);
SetDefault(Static.TouchInputActive, false);
SetDefault(Static.TouchInputActive, RuntimeInfo.IsMobile);
}
/// <summary>