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.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index a09e580..d6a3abf 100644
--- a/main.lua
+++ b/main.lua
@@ -97,11 +97,13 @@ function love.draw()
       for _,p in ipairs(line.points) do
         if p.x == mx and p.y == my then
           love.graphics.setColor(1,0,0)
+          love.graphics.circle('line', pixels(p.x)+16,pixels(p.y)+line.y, 4)
         else
           love.graphics.setColor(0,0,0)
+          love.graphics.circle('fill', pixels(p.x)+16,pixels(p.y)+line.y, 2)
         end
-        love.graphics.circle('line', pixels(p.x)+16,pixels(p.y)+line.y, 4)
       end
+--?       print(#line.points)
       draw_pending_shape(16,line.y, line)
     else
       love.graphics.draw(text, 25,y, 0, 1.5)
e previous revision' href='/akkartik/mu/blame/build0?h=hlt&id=075498ec164b53600cf33d8fd070c003b1dc8cdf'>^
11f7f7b8 ^

5763322b ^
11f7f7b8 ^
f898ee7a ^
11f7f7b8 ^
f0cf7af7 ^

34514ae8 ^

f0cf7af7 ^


11f7f7b8 ^
5763322b ^


f0f16bdf ^
f0cf7af7 ^
5763322b ^
f0cf7af7 ^
53172ce1 ^
ecbdc925 ^
f0cf7af7 ^
c912b731 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36