mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 11:10:29 +00:00
parent
b838efedd2
commit
1f84480a80
@ -687,7 +687,7 @@ while bRunning do
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
elseif param == keys.leftCtrl or param == keys.rightCtrl or param == keys.rightAlt then
|
elseif param == keys.leftCtrl or param == keys.rightCtrl then
|
||||||
-- Menu toggle
|
-- Menu toggle
|
||||||
bMenu = not bMenu
|
bMenu = not bMenu
|
||||||
if bMenu then
|
if bMenu then
|
||||||
@ -696,7 +696,12 @@ while bRunning do
|
|||||||
term.setCursorBlink(true)
|
term.setCursorBlink(true)
|
||||||
end
|
end
|
||||||
redrawMenu()
|
redrawMenu()
|
||||||
|
elseif param == keys.rightAlt then
|
||||||
|
if bMenu then
|
||||||
|
bMenu = false
|
||||||
|
term.setCursorBlink(true)
|
||||||
|
redrawMenu()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
elseif sEvent == "char" then
|
elseif sEvent == "char" then
|
||||||
|
Loading…
Reference in New Issue
Block a user