carousel.love/0015-on.key_release

11 lines
329 B
Plaintext

on.key_release = function(key, scancode)
if Show_code then
if Current_pane.editor_state.cursor_x then
edit.key_release(Current_pane.editor_state, key, scancode)
end
else
-- editors hidden
if car.key_release then car.key_release(key, scancode) end
if car.keyreleased then car.keyreleased(key, scancode) end
end
end