Improve slot style consistency

This commit is contained in:
Caleb Heuer
2022-12-15 02:51:47 -07:00
parent ba37f7bfd1
commit e5b4929018
4 changed files with 5 additions and 2 deletions

View File

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

Binary file not shown.

View File

@@ -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 },
},