mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
Merge pull request #292 from ComfyFactory/fish_v2
Fish v2 - fix gui button height
This commit is contained in:
commit
aae3640fc1
@ -211,11 +211,13 @@ local function add_fd_stats_button(player)
|
||||
player.gui.top[button_id].destroy()
|
||||
end
|
||||
|
||||
player.gui.top.add {
|
||||
local b =
|
||||
player.gui.top.add {
|
||||
type = 'sprite-button',
|
||||
name = button_id,
|
||||
sprite = 'item/submachine-gun'
|
||||
}
|
||||
b.style.maximal_height = 38
|
||||
end
|
||||
|
||||
local function on_gui_click(event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user