Skip to content

Commit 65a5853

Browse files
committed
overlay increase/decrease hotkeys with arrow symbols
1 parent 3699e6f commit 65a5853

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gui/liquids.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ function SpawnLiquid:init()
5050
on_activate = self:callback('decreaseLiquidLevel'),
5151
disabled = function() return self.level == 1 end
5252
},
53+
widgets.Label{
54+
frame = { l = 0, b = 1, w = 1},
55+
text_pen=COLOR_LIGHTGREEN,
56+
text=string.char(27),
57+
},
5358
widgets.HotkeyLabel{
5459
frame = { l = 19, b = 1},
5560
label = 'Increase level',
@@ -58,6 +63,11 @@ function SpawnLiquid:init()
5863
on_activate = self:callback('increaseLiquidLevel'),
5964
disabled = function() return self.level == 7 end
6065
},
66+
widgets.Label{
67+
frame = { l = 19, b = 1, w = 1},
68+
text_pen=COLOR_LIGHTGREEN,
69+
text=string.char(26),
70+
},
6171
widgets.CycleHotkeyLabel{
6272
frame = {l = 0, b = 2},
6373
label = 'Brush:',

0 commit comments

Comments
 (0)