Commit Graph

32 Commits

Author SHA1 Message Date
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
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
John Firebaugh
9eb4552573 Revert unintended changes in c93cd4 2012-12-13 17:43:51 -08:00
John Firebaugh
209b87f7e8 Extract MoveWay action 2012-12-13 17:39:07 -08:00
John Firebaugh
c37aa11408 Start testing modes 2012-12-13 17:39:06 -08:00
Tom MacWright
9461fe794c Fix dragging selected features. Fixes #271 2012-12-13 17:00:34 -05:00
Tom MacWright
a6a608499d Fix inspector actions 2012-12-13 15:16:54 -05:00
Saman Bemel-Benrud
03020fb517 resolved conflict. 2012-12-12 20:46:12 -05:00
Saman Bemel-Benrud
c93cd4c9a3 starting to style handles. 2012-12-12 20:44:05 -05:00
Tom MacWright
dc4c5dcb3f Fix way dragging distortion. Fixes #258 2012-12-12 17:45:20 -05:00
Tom MacWright
4411a33a0c Delete way when deleting nodes via inspector. Fixes #216 2012-12-12 17:09:09 -05:00
Tom MacWright
435b7f46fc Namespace all events 2012-12-11 12:02:01 -05:00
Tom MacWright
a405e4e059 Fix way dragging. Fixes #235 2012-12-07 23:59:11 -05:00
Tom MacWright
f74b29d93a Rudientary splitting of ways 2012-12-07 11:03:15 -05:00
John Firebaugh
3e45afbc5e Move history annotation to History#perform/replace
Actions are too low-level for annotations.
2012-12-07 10:35:39 -05:00
Tom MacWright
7cb6cfbe04 Refactor drag features into sub-control and allow dragging in selection
mode
2012-12-07 09:57:30 -05:00
John Firebaugh
ccd0f0805f dragEnable is gone 2012-12-06 19:18:39 -05:00
John Firebaugh
0ad6218921 Keep browse button active in Select mode 2012-12-06 18:51:03 -05:00
John Firebaugh
9743ee282b More mode and action overhaul
Pass entities to actions via id; this allows safe composition
of actions that modify the same entity.

Fix remaining ghost node cases (#213).

Create more logical undo states when drawing.
2012-12-06 18:39:51 -05:00
Tom MacWright
cd3129061c Refactor dragging, include latedrag 2012-12-06 17:33:02 -05:00
Tom MacWright
3f97ca10c5 Keep buttons active during all phases. Fixes #200 2012-12-05 18:36:34 -05:00
Tom MacWright
f22630fe44 Update select's history access 2012-12-05 17:08:45 -05:00
Tom MacWright
5e56b12d85 Formatting and jshint 2012-12-05 16:55:27 -05:00
Tom MacWright
6ac7d5d7d5 Fix showing inspector on select mode 2012-12-05 16:51:04 -05:00
John Firebaugh
077e5cc9ce Rename various actions 2012-12-05 16:42:48 -05:00
John Firebaugh
812b427ac4 Split remove action into DeleteWay and DeleteNode 2012-12-05 16:14:39 -05:00
John Firebaugh
4a3169bb1d Test/refine iD.actions.remove 2012-12-05 16:14:39 -05:00
John Firebaugh
435be12529 Split modes into separate files 2012-12-05 12:52:26 -05:00