Ansis Brammanis
3bdae821c0
Select areas and lines after finishing them
2013-02-21 13:37:10 -05:00
John Firebaugh
88949d6624
Fix altKey behavior with multi-step drawing ( fixes #803 )
2013-02-18 21:14:41 -08:00
Ansis Brammanis
6a1ef84546
Usecapture when blocking click
2013-02-15 15:45:24 -05:00
Ansis Brammanis
246481ad92
Switch back to mouseup, and block following click
2013-02-06 18:53:46 -05:00
Ansis Brammanis
0acab34054
Draw click event triggered by click instead of up
2013-02-06 15:06:50 -05:00
Tom MacWright
4b76b136fa
Fix tests for faux click
2013-02-05 15:58:54 -05:00
Tom MacWright
4a024651b4
Allow long clicks
2013-02-05 15:44:50 -05:00
Tom MacWright
9743fdf477
Up the radius tolerance to 12px
2013-02-05 15:41:56 -05:00
Tom MacWright
0e0ca2382e
Half-second
2013-02-05 15:40:23 -05:00
Tom MacWright
f65803d99f
Make restriction both space and time
2013-02-05 15:39:58 -05:00
Tom MacWright
67632d638f
Soft clicking. Feels pretty nice. Refs #530
2013-02-05 15:27:02 -05:00
Ansis Brammanis
c8ab057f19
Remove unused midpoint code
2013-02-04 18:26:45 -05:00
Ansis Brammanis
83e241083d
Remove event
2013-02-04 15:30:59 -05:00
Ansis Brammanis
4bfc91cc85
Fix dragging cursor off of edge while drawing
2013-02-04 12:34:11 -05:00
John Firebaugh
fe49e8fb77
Pass around context rather than map
2013-02-01 12:40:16 -05:00
John Firebaugh
7e68e8e114
Add iD.Context
...
This is a facade interface that ties together a bunch of
different internal objects and will make it easier to write
tests for behaviors, modes, and operations.
2013-02-01 12:40:15 -05:00
John Firebaugh
e4c513ae87
midpoint = true -> type = 'midpoint'
...
Makes it more consistent with entities.
2013-01-30 16:24:33 -05:00
John Firebaugh
168a3b5e26
Fix drawing on midpoints ( fixes #559 )
2013-01-30 16:14:29 -05:00
John Firebaugh
dbac370c71
More draw refactoring
2013-01-30 16:14:29 -05:00
John Firebaugh
b37ef978f4
Snap to ways/vertices/midpoints when drawing ( #240 )
...
Also add anti-snapping behavior when option key is down.
2013-01-29 11:16:12 -05:00
Ansis Brammanis
2bd4fbe542
No draw mousemove events while mouse is down
2013-01-28 14:41:08 -05:00
John Firebaugh
0fef1a8cfd
Drop -> undo
2013-01-24 18:14:40 -05:00
John Firebaugh
18c7267010
Extract Draw behavior
...
Fixed some bugs but introduced others.
2013-01-24 17:00:48 -05:00