summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2022-01-01 23:18:28 -0600
committercheapie <no-email-for-you@example.com>2022-01-01 23:18:28 -0600
commitf2eddcc8035bc371309942d90439ff6bfc2b64be (patch)
treeb31e28c0ea38676a9fb6e1ed6b03d9eb70df014b
parent4f6673a3e39c3dcd7677c4a271531e863cb46975 (diff)
downloadmesecons-f2eddcc8035bc371309942d90439ff6bfc2b64be.tar
mesecons-f2eddcc8035bc371309942d90439ff6bfc2b64be.tar.gz
mesecons-f2eddcc8035bc371309942d90439ff6bfc2b64be.tar.bz2
mesecons-f2eddcc8035bc371309942d90439ff6bfc2b64be.tar.xz
mesecons-f2eddcc8035bc371309942d90439ff6bfc2b64be.zip
Fix LuaC code scrolling with Dreambuilder
It maybe doesn't look as nice with the border, but at least scrolling works.
-rw-r--r--mesecons_luacontroller/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua
index 90374b4..04438e9 100644
--- a/mesecons_luacontroller/init.lua
+++ b/mesecons_luacontroller/init.lua
@@ -736,7 +736,7 @@ local function reset_formspec(meta, code, errmsg)
if minetest.get_modpath("dreambuilder_theme_settings") then
meta:set_string("formspec", "size[12,10]"
.."style_type[label,textarea;font=mono]"
- .."style_type[textarea;textcolor="..dreambuilder_theme.editor_text_color..";border=false]"
+ .."style_type[textarea;textcolor="..dreambuilder_theme.editor_text_color.."]"
.."background[-0.2,-0.25;12.4,10.75;"..dreambuilder_theme.name.."_jeija_luac_background.png]"
.."label[0.1,8.3;"..errmsg.."]"
.."textarea[0.2,0.2;12.2,9.5;code;;"..code.."]"