Commit Graph

18 Commits

Author SHA1 Message Date
Ansis Brammanis
fd423f4db7 Don't drag when shiftKey 2013-02-13 15:39:22 -05:00
John Firebaugh
65fbc808a1 Map#pan redraws 2013-02-13 10:39:48 -08:00
Tom MacWright
61d7ec45b5 Banish function ( style 2013-02-12 16:35:47 -05:00
Ansis Brammanis
2062fe9a67 Don't end drag when parent removed 2013-02-12 11:29:21 -05:00
John Firebaugh
4d976013f9 Connect via drag for points (fixes #725) 2013-02-11 12:44:29 -08:00
John Firebaugh
1298fe195d Remove keybinding coupling from iD.behavior.drag 2013-02-11 11:24:05 -08:00
Ansis Brammanis
2ca4387f74 Fix snapping nodes to areas
In the future it may be good to use shadow paths, but at this point
there isn't really a reason to add thousands of additional paths.
2013-02-06 17:42:51 -05:00
Ansis Brammanis
a4bf7c689f Merge DragNode and DragMidpoint
Adds shared behaviors such as snapping to DragMidpoint
2013-02-06 10:49:58 -05:00
John Firebaugh
675c39187c Fix point dragging 2013-02-05 09:27:16 -08:00
John Firebaugh
c9fb1444db Connect via drag and drop
Fixes #598.
2013-02-04 16:48:54 -08:00
Tom MacWright
6e74456b31 Fix dragging around resized edges. Fixes #552 2013-02-04 14:57:43 -05:00
John Firebaugh
7e68e8e114 Add iD.Context
This is a facade interface that ties together a bunch of
different internal objects and will make it easier to write
tests for behaviors, modes, and operations.
2013-02-01 12:40:15 -05:00
John Firebaugh
7e8126ded9 I18n for modes and operations 2013-01-31 11:20:41 -05:00
Tom MacWright
699041019f Pan map when dragging to pad. Fixes #534 2013-01-29 17:02:56 -05:00
Ansis Brammanis
aa21e4b301 Undo cancels drags 2013-01-28 15:56:37 -05:00
John Firebaugh
c927ff5b5d Rationalize vocabulary
- nodes
  - vertices
  - points
- ways
  - lines
  - areas
2012-12-29 09:18:05 -08:00
John Firebaugh
f0acbc2653 loc -> point, dxdy -> delta 2012-12-21 12:10:44 -08:00
John Firebaugh
2c8bbd8985 Integrate new drag behaviors 2012-12-21 12:10:44 -08:00