16 lines
464 B
Plaintext
16 lines
464 B
Plaintext
on.keychord_press = function(chord, key)
|
|
if chord == 'C--' then
|
|
if Font_size > 2 then
|
|
Font_size = Font_size - 1
|
|
love.graphics.setFont(love.graphics.newFont(Font_size))
|
|
end
|
|
elseif chord == 'C-=' then
|
|
Font_size = Font_size + 1
|
|
love.graphics.setFont(love.graphics.newFont(Font_size))
|
|
elseif chord == 'C-0' then
|
|
Font_size = 36
|
|
love.graphics.setFont(love.graphics.newFont(Font_size))
|
|
elseif chord == 'C-r' then
|
|
Rows = ordered_keys(Data)
|
|
end
|
|
end |