Merge pull request #1337 from Haselnussbomber/fix-disabledbutton

fix: missing ## for id in DisabledButton
This commit is contained in:
goat 2023-08-05 14:07:29 +02:00 committed by GitHub
commit 29668a9a9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ public static partial class ImGuiComponents
var text = icon.ToIconString();
if (id.HasValue)
text = $"{text}{id}";
text = $"{text}##{id}";
var button = DisabledButton(text, defaultColor, activeColor, hoveredColor, alphaMult);