about summary refs log tree commit diff stats
path: root/drawing.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-04 20:35:31 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-04 20:35:31 -0700
commitdb8b5b506274bc01376303d3a3a2559954e9389b (patch)
tree684314f0921945184494856abd2320e76aa62dae /drawing.lua
parentbfaa3fd95b577a08676225220c61b866a295fd03 (diff)
downloadlines.love-db8b5b506274bc01376303d3a3a2559954e9389b.tar.gz
switch circles to 'o' to avoid conflicting with copy
Diffstat (limited to 'drawing.lua')
-rw-r--r--drawing.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawing.lua b/drawing.lua
index 330af31..0566a7e 100644
--- a/drawing.lua
+++ b/drawing.lua
@@ -418,7 +418,7 @@ function Drawing.keychord_pressed(chord)
     local mx,my = Drawing.coord(love.mouse.getX()-16), Drawing.coord(love.mouse.getY()-drawing.y)
     local j = Drawing.insert_point(drawing.points, mx,my)
     table.insert(drawing.pending.vertices, j)
-  elseif chord == 'C-c' and not love.mouse.isDown('1') then
+  elseif chord == 'C-o' and not love.mouse.isDown('1') then
     Current_drawing_mode = 'circle'
   elseif love.mouse.isDown('1') and chord == 'a' and Current_drawing_mode == 'circle' then
     local drawing = Drawing.current_drawing()
@@ -428,7 +428,7 @@ function Drawing.keychord_pressed(chord)
     local center = drawing.points[drawing.pending.center]
     drawing.pending.radius = geom.dist(center.x,center.y, mx,my)
     drawing.pending.start_angle = geom.angle(center.x,center.y, mx,my)
-  elseif love.mouse.isDown('1') and chord == 'c' then
+  elseif love.mouse.isDown('1') and chord == 'o' then
     Current_drawing_mode = 'circle'
     local drawing = Drawing.current_drawing()
     if drawing.pending.mode == 'freehand' then