Merge lines.love
This commit is contained in:
commit
a92ded7f49
2
main.lua
2
main.lua
|
@ -83,7 +83,6 @@ function App.initialize(arg)
|
|||
else
|
||||
assert(false, 'unknown app "'..Current_app..'"')
|
||||
end
|
||||
love.window.setTitle('lines.love - '..Current_app)
|
||||
end
|
||||
|
||||
function App.resize(w,h)
|
||||
|
@ -105,7 +104,6 @@ function App.filedropped(file)
|
|||
else
|
||||
assert(false, 'unknown app "'..Current_app..'"')
|
||||
end
|
||||
love.window.setTitle('lines.love - '..Current_app)
|
||||
end
|
||||
|
||||
function App.focus(in_focus)
|
||||
|
|
|
@ -69,6 +69,7 @@ function source.initialize()
|
|||
Menu_status_bar_height = 5 + Editor_state.line_height + 5
|
||||
Editor_state.top = Editor_state.top + Menu_status_bar_height
|
||||
Log_browser_state.top = Log_browser_state.top + Menu_status_bar_height
|
||||
love.window.setTitle('text.love - source')
|
||||
end
|
||||
|
||||
-- environment for a mutable file of bifolded text
|
||||
|
@ -196,6 +197,7 @@ function source.filedropped(file)
|
|||
Text.redraw_all(Editor_state)
|
||||
Editor_state.screen_top1 = {line=1, pos=1}
|
||||
Editor_state.cursor1 = {line=1, pos=1}
|
||||
love.window.setTitle('text.love - source')
|
||||
end
|
||||
|
||||
-- a copy of source.filedropped when given a filename
|
||||
|
|
Loading…
Reference in New Issue