Commit Graph

42 Commits

Author SHA1 Message Date
John Firebaugh d4832e2e95 Add closing segment of drawn areas (fixes #217) 2012-12-07 14:21:30 -05:00
Tom MacWright bb6c0489a0 Fix adding to ways in the reverse direction 2012-12-07 12:01:48 -05:00
Tom MacWright f74b29d93a Rudientary splitting of ways 2012-12-07 11:03:15 -05:00
Tom MacWright 618f5cc486 Merge branch 'master' of github.com:systemed/iD 2012-12-07 10:42:24 -05:00
Tom MacWright f49728872e Fix way finishing, start on split way 2012-12-07 10:42:16 -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
Tom MacWright 9b71f48521 Fix accuracy nodes 2012-12-06 19:41:43 -05:00
John Firebaugh ccd0f0805f dragEnable is gone 2012-12-06 19:18:39 -05:00
John Firebaugh 384ca15040 Continuing mode clean up 2012-12-06 19:16:54 -05:00
John Firebaugh 0ad6218921 Keep browse button active in Select mode 2012-12-06 18:51:03 -05:00
John Firebaugh caf382c1dc Remove elastic vestiges 2012-12-06 18:48:13 -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
John Firebaugh 79e2d08c0d StartWay -> AddWay (for parallelism with AddNode) 2012-12-06 18:36:03 -05:00
Tom MacWright 7fea779e8c Fixup fastenable with drawing areas 2012-12-06 18:09:30 -05:00
Tom MacWright 3b7af751f4 Remove listeners when we're done 2012-12-06 17:55:26 -05:00
Tom MacWright 6e9d9ba274 Refactor modes, use latedrag 2012-12-06 17:54:32 -05:00
Tom MacWright cd3129061c Refactor dragging, include latedrag 2012-12-06 17:33:02 -05:00
Tom MacWright 4339aede82 Remove elastic tags from ways 2012-12-06 16:42:35 -05:00
Tom MacWright 38ecfc949c Get rid of ghost node in connections. Fixes #213 2012-12-06 16:17:09 -05:00
Tom MacWright d84d33ea8d Fix road drawing 2012-12-06 16:14:04 -05:00
Tom MacWright 9006a746be Fixing stray last node. 2012-12-06 16:00:06 -05:00
Tom MacWright dc37eb99b4 Fix dragging while drawing, fix delete binding. Fixes #184 2012-12-06 15:51:48 -05:00
John Firebaugh 44959a834d Clean elastic flag on all mode exit paths (fixes #194) 2012-12-06 15:03:11 -05:00
Tom MacWright b8a06aa215 Remove elastic tag when roads and areas are complete 2012-12-06 13:56:50 -05:00
Tom MacWright 3f97ca10c5 Keep buttons active during all phases. Fixes #200 2012-12-05 18:36:34 -05:00
Tom MacWright 4dee98ea1a Tweak button styles, add browse button 2012-12-05 17:59:19 -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
Tom MacWright a92b81c9ce Merge branch 'master' of github.com:systemed/iD
Conflicts:
	js/id/modes/draw_area.js
	js/id/modes/draw_road.js
2012-12-05 16:47:18 -05:00
Tom MacWright aa066ec8b2 Fixup area drawing, add delete keybinding for deleting last point 2012-12-05 16:44:45 -05:00
John Firebaugh 077e5cc9ce Rename various actions 2012-12-05 16:42:48 -05:00
Tom MacWright cbb49d2322 Merge branch 'master' of github.com:systemed/iD 2012-12-05 16:17:20 -05:00
John Firebaugh 812b427ac4 Split remove action into DeleteWay and DeleteNode 2012-12-05 16:14:39 -05:00
John Firebaugh 4e87ecbe5f Don't mutate in place 2012-12-05 16:14:39 -05:00
John Firebaugh 4a3169bb1d Test/refine iD.actions.remove 2012-12-05 16:14:39 -05:00
Tom MacWright bf29581ae1 Add tooltips to action buttons 2012-12-05 16:13:09 -05:00
Tom MacWright bc91f4956d Add simple hint api 2012-12-05 14:26:37 -05:00
John Firebaugh 774d1de017 Clean up modes 2012-12-05 13:11:16 -05:00
John Firebaugh 54d474a8ca Convert all modes to module pattern 2012-12-05 12:52:26 -05:00
John Firebaugh 435be12529 Split modes into separate files 2012-12-05 12:52:26 -05:00