Phone keyboards in particular often don't have a ctrl
key! This is a
pretty pickle.
OBRUGSND2YN3AKWN7DC2NDFH3GIWVRAHSNUR6MMJMSAVLS6T4BGAC
PP2IIHL6EK4HBFFSYAQNV35BKIK6D4EL2JQOY7NZVJX2DXCLSMGAC
YD46MI2FYKOWUUVGYRRRSDEXYJUJKZO5RFVUBJBCNMZYVS3MXDAQC
KKMFQDR43ZWVCDRHQLWWX3FCWCFA3ZSXYOBRJNPHUQZR2XPKWULAC
5RDWSYK2YESTIEDMGOD2T7E4KCOA6DOM35ECMZT2XZT57JSCRJEQC
NOMLSMKK3XOFEG74ITJRBTCZGS3XETGIFV4UJOJIPS324BC3IF7QC
LNUHQOGHIOFGJXNGA3DZLYEASLYYDGLN2I3EDZY5ANASQAHCG3YQC
2L5MEZV344TOZLVY3432RHJFIRVXFD6O3GWLL5O4CV66BGAFTURQC
H6QZ7GRR2UBK4POXP6PNMYHHW54SJAQYTTFVPQK4YIJZ4FECAPPQC
2Y7YH7UPQWDNYDJN4BYY2MOHA36B2BIRX6DMIAKHJPQC7UP2R6NQC
end
function run.draw_file_select_button()
local x = App.screen.width - 40
button_text = 'open file'
local width = to_text(button_text):getWidth()
x = x - 10 - width - 20
button(Editor_state, 'open', {x=x, y=5, w=width+10,h=Line_height, color={1,0.7,1},
icon = function(button_params)
local x,y = button_params.x, button_params.y
local w,h = button_params.w, button_params.h
love.graphics.setColor(0.4,0.4,0.7)
love.graphics.rectangle('line', x,y, w,h, 5,5)
love.graphics.setColor(0,0,0)
love.graphics.print(button_text, x+5, y)
end,
onpress1 = function()
File_select_bar_value = ''
File_select_bar_text = nil
end,
})