Files
luanti-wasm/patches/pwdfield-background.patch
eric a10b048968
build / Build Docker Image (push) Canceled after 0s
eom.dev customization
2026-10-24 18:49:03 -04:00

11 lines
434 B
Diff
Executable File

diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp
--- a/src/gui/guiFormSpecMenu.cpp
+++ b/src/gui/guiFormSpecMenu.cpp
@@ -1,3 +1,5 @@
e->setPasswordBox(true,L'*');
e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false));
- e->setDrawBorder(style.getBool(StyleSpec::BORDER, true));
+ bool border = style.getBool(StyleSpec::BORDER, true);
+ e->setDrawBorder(border);
+ e->setDrawBackground(border);