mirror of
https://github.com/ppy/osu.git
synced 2026-05-17 08:42:35 +08:00
Fix composition tool tooltip not changing text when enabled
This commit is contained in:
@@ -266,7 +266,7 @@ namespace osu.Game.Rulesets.Edit
|
||||
{
|
||||
item.Selected.DisabledChanged += isDisabled =>
|
||||
{
|
||||
item.TooltipText = isDisabled ? "Add at least one timing point first!" : ((HitObjectCompositionToolButton)item).TooltipText;
|
||||
item.TooltipText = isDisabled ? "Add at least one timing point first!" : ((HitObjectCompositionToolButton)item).Tool.TooltipText;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user