Tom MacWright
fd2ef2a78b
Rename tooltip to tail, use tail in modes.
2013-01-17 12:07:26 -05:00
Tom MacWright
061e81d14a
Merge branch 'master' into tooltips
2013-01-17 11:32:37 -05:00
Ansis Brammanis
b8d9741959
Only update inspector tag list when necessary
2013-01-17 10:48:42 -05:00
Tom MacWright
eecc6b14fb
First shot at tooltips cc @samanbb
2013-01-16 18:39:12 -05:00
Ansis Brammanis
a9de2500aa
Fix undo right after drawing line or area
2013-01-16 12:43:29 -05:00
Ansis Brammanis
a980695ee7
Avoid creating lines with < 2 nodes (or areas < 3)
2013-01-16 12:20:35 -05:00
Ansis Brammanis
1a2b897d06
Fix closing inspector after delete
2013-01-15 17:23:00 -05:00
Ansis Brammanis
754225aeb7
Autosave tags when closing inspector
2013-01-14 17:14:10 -05:00
Tom MacWright
72afc6dcb9
Namespace UI components
2013-01-14 14:00:51 -05:00
Ansis Brammanis
233b2647cd
fix isLine logic (from jfire)
2013-01-14 11:46:45 -05:00
Ansis Brammanis
dc9f7f6a03
stop addLine from continuing area's way
2013-01-14 10:45:54 -05:00
Ansis Brammanis
fcc981db60
Exit select mode if entity gets undone
2013-01-14 10:13:50 -05:00
Ansis Brammanis
ac8c12e7eb
Remove double-undo when exiting drawLine mode
2013-01-13 19:55:08 -05:00
John Firebaugh
4c6757714c
parentWays/Relations now take an entity
2013-01-11 17:26:25 -08:00
John Firebaugh
7dc1945ee3
accuracy-handle -> midpoint
2013-01-11 14:54:51 -08:00
Ansis Brammanis
d4524d2ef5
Fix area closing (no duplicate nodes at end of way)
2013-01-11 15:32:25 -05:00
Ansis Brammanis
87ee1cf0cb
Select way/area after hitting enter/escape
2013-01-11 14:30:09 -05:00
Ansis Brammanis
bdb958d912
simpler panning on select
2013-01-11 12:31:42 -05:00
Ansis Brammanis
46aff8d1ba
Fix connecting a way to an accuracy handle
2013-01-11 12:00:02 -05:00
Ansis Brammanis
59bfe703fd
Restrict zoom while drawing
2013-01-11 11:32:07 -05:00
Ansis Brammanis
3fdf32f4dd
Add ctrl-z and make it work nicely with drawline
2013-01-11 10:20:34 -05:00
Ansis Brammanis
bc53ae457e
Fix undo while drawing
2013-01-09 17:44:20 -05:00
Ansis Brammanis
f489117e5b
highlight way or node that will be connected to
2013-01-09 17:22:08 -05:00
Tom MacWright
2fc2d835ea
Revert "Do not continue areas. Fixes #331 "
...
This reverts commit e88508a123 .
2013-01-08 13:53:34 -05:00
Tom MacWright
e88508a123
Do not continue areas. Fixes #331
2013-01-08 13:48:18 -05:00
John Firebaugh
e5d79d5270
Fix various line and area drawing bugs
...
The way and vertex being drawn get an `active` class,
which can be used to hide the vertex and set
`pointer-events: none` on the line.
Use the correct cursors when connecting (fixes #293 ).
Splice into existing lines at the correct index and
location (fixes #246 ).
2013-01-07 21:58:01 -08:00
John Firebaugh
ec0ca2a2da
'started a road' -> 'started a line'
2013-01-07 17:08:11 -08:00
Tom MacWright
d4af1032a3
Clear inspector when closed
2013-01-07 18:28:52 -05:00
Tom MacWright
00da444a33
Merge pull request #322 from systemed/inspector-intersect
...
Inspector intersect
2013-01-07 09:15:10 -08:00
Tom MacWright
de70e1e976
Pan the map for features that intersect with both edges
2013-01-07 12:14:37 -05:00
Tom MacWright
12beb14d07
Work on #250
...
Implement inspector without a collapsed mode and with semi-intelligent
detection of whether features will conflict with the position of the
inspector. Also adds a `centerEase` fn to the map object.
2013-01-07 11:51:04 -05:00
John Firebaugh
2d3ce6c125
Extract hover behavior
2013-01-07 08:34:37 -08:00
Tom MacWright
3f8a872d79
Double click to add detail to lines. Fixes #298
2013-01-04 12:36:23 -05:00
Tom MacWright
6040c6efa3
Fix map reference regression
2013-01-02 14:37:47 -05:00
Tom MacWright
f5873a3bc1
Add .hoverEnable to map and disable it for drawing-related modes. Fixes #234
2013-01-02 14:29:04 -05:00
John Firebaugh
6e920e7110
Correct event namespace
2012-12-27 18:52:56 -08:00
John Firebaugh
78569a5ef3
Extract select behavior to mode
...
While here, use a more appropriate class (.selected).
2012-12-27 18:52:55 -08:00
John Firebaugh
40a32de443
Hide select cursors when in draw modes ( fixes #290 )
2012-12-21 13:32:39 -08:00
John Firebaugh
6a4b75aa88
latedrag functionality was merged into iD.behavior.drag
2012-12-21 12:29:59 -08:00
John Firebaugh
2c8bbd8985
Integrate new drag behaviors
2012-12-21 12:10:44 -08:00
John Firebaugh
511dcfa6ac
Rewrite drag behaviors in terms of iD.behavior.drag
2012-12-21 12:10:44 -08:00
John Firebaugh
7f4acb46fc
Ensure dragging a way is undoable
2012-12-21 12:10:43 -08:00
Tom MacWright
811187620d
jshint fixes
2012-12-18 10:47:32 -05:00
Saman Bemel-Benrud
2c3c4cc652
resolve conflict.
2012-12-14 19:58:15 -05:00
Saman Bemel-Benrud
8c364091a3
refining cursor behavior.
2012-12-14 19:54:55 -05:00
John Firebaugh
ad0efa4931
Place -> Point
...
We decided to use geometric terms for the modes.
2012-12-14 14:39:38 -08:00
Saman Bemel-Benrud
9ab37f612d
Merge branch 'master' of github.com:systemed/iD
2012-12-14 16:30:47 -05:00
Saman Bemel-Benrud
37c79c0500
basic cursor stuff.
2012-12-14 16:30:31 -05:00
Tom MacWright
24b6e8adb2
Just an area tag. Fixes #282
2012-12-14 15:04:54 -05:00
Tom MacWright
b5065d81c4
Fix way node dragging. Fixes #279
2012-12-14 13:51:36 -05:00