mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Added tests for new Taiko touch control schemes
This commit is contained in:
@ -24,6 +24,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
/// </summary>
|
||||
public partial class DrumTouchInputArea : VisibilityContainer
|
||||
{
|
||||
public TaikoTouchControlScheme? ForceControlScheme { get; set; }
|
||||
// visibility state affects our child. we always want to handle input.
|
||||
public override bool PropagatePositionalInputSubTree => true;
|
||||
public override bool PropagateNonPositionalInputSubTree => true;
|
||||
@ -55,7 +56,10 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
|
||||
const float centre_region = 0.80f;
|
||||
|
||||
config.BindWith(TaikoRulesetSetting.TouchControlScheme, configTouchControlScheme);
|
||||
if (ForceControlScheme == null)
|
||||
config.BindWith(TaikoRulesetSetting.TouchControlScheme, configTouchControlScheme);
|
||||
else
|
||||
configTouchControlScheme.Value = (TaikoTouchControlScheme)ForceControlScheme;
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
Reference in New Issue
Block a user