mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fix button
This commit is contained in:
@@ -149,6 +149,12 @@ end)
|
|||||||
item.enabled = true
|
item.enabled = true
|
||||||
element.style = 'shortcut_bar_button_green'
|
element.style = 'shortcut_bar_button_green'
|
||||||
end
|
end
|
||||||
|
-- Correct the button size
|
||||||
|
local style = element.style
|
||||||
|
style.right_margin -3
|
||||||
|
style.padding = -2
|
||||||
|
style.height = 32
|
||||||
|
style.width = 32
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
@@ -354,4 +360,4 @@ local function entity_build(event)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
Event.add(defines.events.on_built_entity, entity_build)
|
Event.add(defines.events.on_built_entity, entity_build)
|
||||||
|
|||||||
Reference in New Issue
Block a user