Use more generic tooltip copy

This commit is contained in:
Bartłomiej Dach 2024-05-29 09:59:19 +02:00
parent bd5060965f
commit 96a8bdf920
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -99,11 +99,11 @@ private void load()
};
playfieldCentreButton.Selected.DisabledChanged += isDisabled =>
{
playfieldCentreButton.TooltipText = isDisabled ? "Select something other than a single slider to perform playfield-based scaling." : string.Empty;
playfieldCentreButton.TooltipText = isDisabled ? "The current selection cannot be scaled relative to playfield centre." : string.Empty;
};
selectionCentreButton.Selected.DisabledChanged += isDisabled =>
{
selectionCentreButton.TooltipText = isDisabled ? "Select more than one object to perform selection-based scaling." : string.Empty;
selectionCentreButton.TooltipText = isDisabled ? "The current selection cannot be scaled relative to its centre." : string.Empty;
};
}