impr: On/Off state of dimmed toggles easier to see

This commit is contained in:
WerWolv
2025-08-16 20:43:41 +02:00
parent 9d05f487e6
commit 5666baf2bc

View File

@@ -1189,7 +1189,7 @@ namespace ImGuiExt {
PushStyleColor(ImGuiCol_Button, GetCustomColorU32(ImGuiCustomCol_DescButton));
PushStyleColor(ImGuiCol_Text, GetColorU32(ImGuiCol_ButtonActive));
PushStyleColor(ImGuiCol_ButtonActive, GetCustomColorU32(ImGuiCustomCol_DescButtonActive));
PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1);
PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.5 * hex::ImHexApi::System::getGlobalScale());
bool res = IconButton(symbol, color, size, iconOffset);