Commit Graph

55 Commits

Author SHA1 Message Date
Tom MacWright 9a3d545f17 Do not focus text fields after initial placement 2013-01-22 14:42:21 -05:00
Tom MacWright 55346c4d33 Work around blur issue for #439 2013-01-22 11:19:09 -05:00
Tom MacWright 38c02509ea Do not tolerate modifiers for action shortcuts.
Tolerates id-equality for selecting features.
2013-01-22 10:39:10 -05:00
Tom MacWright 3d90801e63 Add willselect to hash, works with non-line features. 2013-01-22 10:22:00 -05:00
Tom MacWright 7cf234365e Non-overwriting hash, add hash in select mode. Needs code for dealing
with hash.
2013-01-22 09:41:29 -05:00
Tom MacWright b3765a4467 Microbranching jshint stuff. 2013-01-22 09:35:34 -05:00
John Firebaugh ce6e11a8a0 Test copying tags to the split way 2013-01-18 14:44:28 -08:00
Ansis Brammanis faecda854e Improve inspector-forced panning 2013-01-18 13:04:42 -05:00
John Firebaugh 5a2444b551 Extract and fix extent/intersection calculations
Extents are now [[min x, min y], [max x, max y]].
2013-01-17 14:27:01 -08:00
Ansis Brammanis b8d9741959 Only update inspector tag list when necessary 2013-01-17 10:48:42 -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 fcc981db60 Exit select mode if entity gets undone 2013-01-14 10:13:50 -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 bdb958d912 simpler panning on select 2013-01-11 12:31:42 -05: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
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