mirror of
https://github.com/factoriolib/flib.git
synced 2025-09-04 17:00:12 +00:00
Improve slot style consistency
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
Version: 0.12.4
|
||||
Date: ????
|
||||
Changes:
|
||||
- Improved slot style coloring to be more consistent
|
||||
- Updated table module to use more generics for callback return values
|
||||
Bugfixes:
|
||||
- Fixed missing clicked graphical sets on slot styles
|
||||
- Fixed missing return types in table module callback functions
|
||||
- Fixed that long mod names would cut off in the dictionary-lite progress window
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 87 KiB |
BIN
graphics/slots.xcf
Normal file
BIN
graphics/slots.xcf
Normal file
Binary file not shown.
@@ -18,8 +18,9 @@ local function gen_slot(x, y, default_offset)
|
||||
hovered_graphical_set = {
|
||||
base = { border = 4, position = { x + 80, y }, size = 80, filename = slot_tileset },
|
||||
},
|
||||
clicked_graphical_set = {},
|
||||
base = { border = 4, position = { x + 160, y }, size = 80, filename = slot_tileset },
|
||||
clicked_graphical_set = {
|
||||
base = { border = 4, position = { x + 160, y }, size = 80, filename = slot_tileset },
|
||||
},
|
||||
disabled_graphical_set = { -- identical to default graphical set
|
||||
base = { border = 4, position = { x + default_offset, y }, size = 80, filename = slot_tileset },
|
||||
},
|
||||
|
Reference in New Issue
Block a user