Improve world editor palette workflow
This commit is contained in:
parent
4cb536d6c8
commit
858775fdc8
3 changed files with 336 additions and 67 deletions
2
main.lua
2
main.lua
|
|
@ -177,6 +177,8 @@ function love.keypressed(key)
|
|||
if key == "return" then
|
||||
response = ""
|
||||
editorCompleteResponse()
|
||||
elseif key == "escape" and editorCancelResponse() then
|
||||
return
|
||||
elseif key == "backspace" then
|
||||
local byteoffset = utf8.offset(response, -1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue