about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 4f6fd00..b166ac4 100644
--- a/main.lua
+++ b/main.lua
@@ -420,6 +420,7 @@ end
 
 function App.keychord_pressed(chord, key)
   if Selection1.line and
+      not Lines.current_drawing and
       -- printable character created using shift key => delete selection
       -- (we're not creating any ctrl-shift- or alt-shift- combinations using regular/printable keys)
       (not App.shift_down() or utf8.len(key) == 1) and