about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-14 10:50:06 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-14 10:50:14 -0700
commit8c535dbb3a880199c2d7c7b43dccfbb287ac12bb (patch)
tree2cc1b5e1fdddfcf22ec146b4d5e360cc72e582b3
parente3c7e9c96b7bc74f086e76a1c3336e4ef755c55e (diff)
downloadtext.love-8c535dbb3a880199c2d7c7b43dccfbb287ac12bb.tar.gz
.
-rw-r--r--drawing.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawing.lua b/drawing.lua
index 1790953..0dda2b5 100644
--- a/drawing.lua
+++ b/drawing.lua
@@ -47,7 +47,7 @@ function Drawing.draw(line)
         love.graphics.circle('fill', Drawing.pixels(p.x)+Margin_left,Drawing.pixels(p.y)+line.y, 2)
       end
       if p.name then
-        -- todo: clip
+        -- TODO: clip
         local x,y = Drawing.pixels(p.x)+Margin_left+5, Drawing.pixels(p.y)+line.y+5
         love.graphics.print(p.name, x,y)
         if Current_drawing_mode == 'name' and i == line.pending.target_point then
@@ -95,7 +95,7 @@ function Drawing.draw_shape(left,top, drawing, shape)
     local curr = drawing.points[shape.vertices[1]]
     love.graphics.line(Drawing.pixels(prev.x)+left,Drawing.pixels(prev.y)+top, Drawing.pixels(curr.x)+left,Drawing.pixels(curr.y)+top)
   elseif shape.mode == 'circle' then
-    -- todo: clip
+    -- TODO: clip
     local center = drawing.points[shape.center]
     love.graphics.circle('line', Drawing.pixels(center.x)+left,Drawing.pixels(center.y)+top, Drawing.pixels(shape.radius))
   elseif shape.mode == 'arc' then