mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
Fix gui string type (#1455)
This commit is contained in:
parent
a2a61dbea6
commit
bd9560fde8
@ -78,7 +78,7 @@ end
|
|||||||
---@param element LuaGuiElement
|
---@param element LuaGuiElement
|
||||||
---@param style string|table
|
---@param style string|table
|
||||||
function Gui.set_style(element, style)
|
function Gui.set_style(element, style)
|
||||||
if type(style) == string then
|
if type(style) == 'string' then
|
||||||
element.style = style
|
element.style = style
|
||||||
else
|
else
|
||||||
local element_style = element.style
|
local element_style = element.style
|
||||||
|
Loading…
Reference in New Issue
Block a user