1
0
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:
Gerkiz 2022-08-07 23:03:59 +02:00 committed by GitHub
commit aae3640fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)