Commit Graph

15 Commits

Author SHA1 Message Date
Bryan Housel
3adcd85c89 Fix nudging, cleanup code.. 2015-03-05 16:20:50 -05:00
Bryan Housel
7232e0d769 Restrict delta so that user can not move way across intersection 2015-03-04 16:05:33 -05:00
Bryan Housel
fb90cd90b0 Use graph#overwrite for move mode
also move cache stuff from here down into iD.actions.Move
2015-02-02 22:02:33 -05:00
Bryan Housel
f1f6656269 Perform moves idempotently
* instead of passing small deltas to the move action and accumulating
errors, always pass the absolute delta since entering move mode
* also fix cache to handle circular/self-referencing relations
2015-02-02 16:29:08 -05:00
Bryan Housel
e51e46a885 refactor and improve unzorroing, vertex replacement 2015-01-26 21:52:31 -05:00
Bryan Housel
9233be9cd6 Avoid zorroing connected ways when moving a way
(closes #729)
2015-01-24 01:07:27 -05:00
John Firebaugh
1a166ec9b7 Suppress menu in more places 2013-08-29 14:38:42 -07:00
John Firebaugh
2197fbc25b Stop nudge when exiting move mode (fixes #1766) 2013-08-29 14:34:13 -07:00
John Firebaugh
bba761d8ea size -> dimensions
D3 3.2 adds selection.size, where size means "number
of selected elements".
2013-06-20 13:05:20 -07:00
John Firebaugh
98072bdd27 Use minzoom behavior in all appropriate modes
Fixes https://github.com/systemed/iD/issues/1599#issuecomment-19568483
2013-06-17 14:43:16 -07:00
John Firebaugh
1641f38632 Use context.mouse() 2013-05-09 21:55:05 -07:00
Ansis Brammanis
4a2cb9841d fix nudging during move operation 2013-03-28 15:03:31 -04:00
John Firebaugh
78f6a00029 Fix moving multiple entities which share nodes
While here, implement moving multipolygons too.
2013-02-27 17:12:39 -08:00
Ansis Brammanis
ac275c8011 Don't show presetgrid after moving 2013-02-26 16:56:05 -05:00
Ansis Brammanis
7222fcb63f Move multiple elements 2013-02-23 20:06:37 -05:00