From ac51bee933857ada1cf8d50675d2b8dd3afc8aed Mon Sep 17 00:00:00 2001 From: thecozies <79979276+thecozies@users.noreply.github.com> Date: Tue, 22 Jul 2025 08:21:45 -0500 Subject: [PATCH] set base opacity for disable state getting re-enabled --- src/ui/elements/ui_icon_button.cpp | 1 + src/ui/elements/ui_pill_button.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/ui/elements/ui_icon_button.cpp b/src/ui/elements/ui_icon_button.cpp index df5d479..e7abb2b 100644 --- a/src/ui/elements/ui_icon_button.cpp +++ b/src/ui/elements/ui_icon_button.cpp @@ -27,6 +27,7 @@ namespace recompui { set_cursor(Cursor::Pointer); set_color(theme::color::TextDim); set_tab_index(TabIndex::Auto); + set_opacity(1.0f); hover_style.set_color(theme::color::Text); focus_style.set_color(theme::color::Text); diff --git a/src/ui/elements/ui_pill_button.cpp b/src/ui/elements/ui_pill_button.cpp index 3cbce41..287f927 100644 --- a/src/ui/elements/ui_pill_button.cpp +++ b/src/ui/elements/ui_pill_button.cpp @@ -31,6 +31,7 @@ namespace recompui { set_cursor(Cursor::Pointer); set_color(theme::color::TextDim); set_tab_index(TabIndex::Auto); + set_opacity(1.0f); hover_style.set_color(theme::color::Text); focus_style.set_color(theme::color::Text);