mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
add sound to tab controls
This commit is contained in:
@ -22,6 +22,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
[Description("songselect")]
|
[Description("songselect")]
|
||||||
SongSelect,
|
SongSelect,
|
||||||
|
|
||||||
|
[Description("tabselect")]
|
||||||
|
TabSelect,
|
||||||
|
|
||||||
[Description("scrolltotop")]
|
[Description("scrolltotop")]
|
||||||
ScrollToTop
|
ScrollToTop
|
||||||
}
|
}
|
||||||
|
@ -172,7 +172,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
},
|
},
|
||||||
new HoverClickSounds()
|
new HoverClickSounds(HoverSampleSet.TabSelect)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
},
|
},
|
||||||
new HoverClickSounds()
|
new HoverClickSounds(HoverSampleSet.TabSelect)
|
||||||
};
|
};
|
||||||
|
|
||||||
Active.BindValueChanged(active => Text.Font = Text.Font.With(Typeface.Torus, weight: active.NewValue ? FontWeight.Bold : FontWeight.Medium), true);
|
Active.BindValueChanged(active => Text.Font = Text.Font.With(Typeface.Torus, weight: active.NewValue ? FontWeight.Bold : FontWeight.Medium), true);
|
||||||
|
@ -99,7 +99,7 @@ namespace osu.Game.Overlays
|
|||||||
ExpandedSize = 5f,
|
ExpandedSize = 5f,
|
||||||
CollapsedSize = 0
|
CollapsedSize = 0
|
||||||
},
|
},
|
||||||
new HoverClickSounds()
|
new HoverClickSounds(HoverSampleSet.TabSelect)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user