Popup ui improvements

This commit is contained in:
ahsanswr
2026-07-26 17:24:36 +02:00
committed by Guillaume Meunier
parent 9352db046a
commit 4226485c57
3 changed files with 73 additions and 63 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ void scenes::lobby::gui_theme()
// Panel transparency
static const int opacity_default = 100;
int opacity = int(theme.background_alpha * 100);
ui::setting_label(_S("Panel opacity"), _S("Opacity of the main panel background"), control_w);
ui::setting_label(_S("Panel opacity"), _S("Opacity of the panel and card backgrounds"), control_w);
if (ui::slider_int("##opacity", &opacity, 20, 100, "%d%%", {control_w, 0}, &opacity_default))
theme.background_alpha = float(opacity) / 100.f;