mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 18:24:13 +08:00
9ac31c0271
While the default hasn't changed, users that prefer how stable behaved can now toggle the new toggle to get their preferred animation behaviour back. https://github.com/user-attachments/assets/eb4f5c5c-5860-428c-8e4e-bcf4dbe859d7 --- Alternative to and closes https://github.com/ppy/osu/pull/37529. See https://github.com/ppy/osu/discussions/37131. --------- Co-authored-by: Dan Balasescu <smoogipoo@smgi.me> Co-authored-by: Walavouchey <36758269+Walavouchey@users.noreply.github.com> Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
31 lines
944 B
C#
31 lines
944 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Configuration;
|
|
using osu.Game.Rulesets.Configuration;
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Configuration
|
|
{
|
|
public class TaikoRulesetConfigManager : RulesetConfigManager<TaikoRulesetSetting>
|
|
{
|
|
public TaikoRulesetConfigManager(SettingsStore? settings, RulesetInfo ruleset, int? variant = null)
|
|
: base(settings, ruleset, variant)
|
|
{
|
|
}
|
|
|
|
protected override void InitialiseDefaults()
|
|
{
|
|
base.InitialiseDefaults();
|
|
|
|
SetDefault(TaikoRulesetSetting.TouchControlScheme, TaikoTouchControlScheme.KDDK);
|
|
SetDefault(TaikoRulesetSetting.RateAdjustedHitAnimation, true);
|
|
}
|
|
}
|
|
|
|
public enum TaikoRulesetSetting
|
|
{
|
|
TouchControlScheme,
|
|
RateAdjustedHitAnimation,
|
|
}
|
|
}
|