diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-05 11:28:03 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-05 11:29:39 -0700 |
commit | 528c64d690c2d1cb4b3b70c37008b3ba37d904b9 (patch) | |
tree | 6a05d6d291276b5a3c63475686e02648f3091da6 /source.lua | |
parent | 9f94470f9dd56c03c66d98bbeff2fc60995cc0ae (diff) | |
download | lines.love-528c64d690c2d1cb4b3b70c37008b3ba37d904b9.tar.gz |
support drawings in the source editor
Diffstat (limited to 'source.lua')
-rw-r--r-- | source.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source.lua b/source.lua index e23cbc6..7ec1aae 100644 --- a/source.lua +++ b/source.lua @@ -277,7 +277,7 @@ function source.mouse_pressed(x,y, mouse_button) --? print('mouse click', x, y) --? print(Editor_state.left, Editor_state.right) --? print(Log_browser_state.left, Log_browser_state.right) - if Editor_state.left <= x and x < Editor_state.right then + if x < Editor_state.right + Margin_right then --? print('click on edit side') if Focus ~= 'edit' then Focus = 'edit' |