show any error after switching to source editor
[?]
Sep 4, 2023, 10:07 PM
EHADZNMBVAF6S3LW6DWDVA53KFF5TPGKUXBP4LCWXSLUEIYCA3QACDependencies
- [2]
BYKXF3YYbugfix: draw menu after everything else - [*]
KKMFQDR4editing source code from within the app - [*]
OTIBCAUJlove2d scaffold
Change contents
- edit in source.lua at line 255
if Error_message thenlocal height = math.min(20*Editor_state.line_height, App.screen.height*0.2)App.color{r=0.8,g=0,b=0}love.graphics.rectangle('fill', 150, App.screen.height - height-10, App.screen.width, height+10)App.color{r=0,g=0,b=0}love.graphics.print(Error_message, 150+10, App.screen.height - height)end - edit in main.lua at line 186
-- preserve any Error_message when going from run to source - edit in main.lua at line 191
Error_message = nil