diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-03 17:24:04 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-03 17:24:30 -0700 |
commit | a92ded7f49121039c2e5a5d8eafd465d8593337b (patch) | |
tree | 0cf0a6364671a882be65199e74626f1826598f6d | |
parent | 21efba975d9ca75a56f9f6a6cd058b13bb63ae15 (diff) | |
parent | c6f88dccfa9ef6922fa19885f3d5569e809414ed (diff) | |
download | text.love-a92ded7f49121039c2e5a5d8eafd465d8593337b.tar.gz |
Merge lines.love
-rw-r--r-- | main.lua | 2 | ||||
-rw-r--r-- | source.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua index 9b6abf6..544b5db 100644 --- a/main.lua +++ b/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) diff --git a/source.lua b/source.lua index 6f2b131..8f09549 100644 --- a/source.lua +++ b/source.lua @@ -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 |