Skip to content

Commit fedceb4

Browse files
committed
hide disabled hotkey from the gui/kitchen-info scr
1 parent 90c73cd commit fedceb4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

gui/kitchen-info.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,10 @@ function kitchen_overlay:onRender()
394394
end
395395

396396
-- Hotkey
397-
local keys_p = gui.Painter.new_xy(1, gps.dimy - 3, gps.dimx - 2, gps.dimy - 2)
398-
local keys_x = math.min(gps.dimx - 3 - string.len("p: Hide processing info"), 62)
399-
keys_p:key_pen(COLOR_LIGHTRED):pen(COLOR_WHITE)
400-
keys_p:seek(keys_x, 1):key('CUSTOM_P'):string(show_processing and ": Hide processing info" or ": Show processing info")
397+
--local keys_p = gui.Painter.new_xy(1, gps.dimy - 3, gps.dimx - 2, gps.dimy - 2)
398+
--local keys_x = math.min(gps.dimx - 3 - string.len("p: Hide processing info"), 62)
399+
--keys_p:key_pen(COLOR_LIGHTRED):pen(COLOR_WHITE)
400+
--keys_p:seek(keys_x, 1):key('CUSTOM_P'):string(show_processing and ": Hide processing info" or ": Show processing info")
401401
end
402402

403403
function kitchen_overlay:onInput(keys)

0 commit comments

Comments
 (0)