Bryan Housel
|
bc1193c347
|
Make sure nodes can be dragged too, not just vertices
(fixes bug introduced in 0440054)
|
2017-01-29 17:23:34 -05:00 |
|
Bryan Housel
|
f93e57b97d
|
Use #map.node() for drag surface instead of svg #surface
This is because #surface can be transformed during a partial redraw
and d3.mouse() returns transformed point, not the real screen point.
https://github.com/d3/d3-selection/blob/a2cf4f32ec2a88196c9f992e34ec23aec589f797/src/point.js#L4-L9
|
2017-01-29 17:11:55 -05:00 |
|
Bryan Housel
|
31dcabc8f8
|
Actually move the dragged point while nudging
|
2017-01-29 17:01:36 -05:00 |
|
Bryan Housel
|
6c062fb312
|
WIP: improve edge to support diagonal nudges, redraws on nudge
(working on #3594 today)
|
2017-01-28 15:51:23 -05:00 |
|
Bryan Housel
|
0440054cd9
|
Child and sibling vertices should be eligible for drag_node
(closes #3799, see also #3801)
|
2017-01-27 13:02:27 -05:00 |
|
popov
|
ad06e341ad
|
do not use tabs
|
2017-01-27 09:54:08 -05:00 |
|
popov
|
56dbebd0b6
|
fix array concat
|
2017-01-27 09:54:01 -05:00 |
|
popov
|
a2f9f51ee6
|
Allow to drag a node when a parent relation is selected
|
2017-01-27 09:53:52 -05:00 |
|
Bryan Housel
|
0fb506f461
|
Make sure new midpoint also gets included in activeIDs
|
2017-01-16 20:37:34 +05:30 |
|
popov
|
42a6530796
|
Do not attach dragNode behavior in browse mode
|
2017-01-10 10:41:58 +10:00 |
|
Bryan Housel
|
07fa5fcc34
|
Refactor Entity, Node, Relation, Tags, Way from core to osm
|
2016-10-11 22:41:24 -04:00 |
|
Bryan Housel
|
0d0e54fdff
|
Fix more namespaces that were missed in the first pass
|
2016-10-04 21:15:30 -04:00 |
|
Bryan Housel
|
3102a4ae6a
|
Rename all the things to include pseudonamespaces
|
2016-10-04 19:06:20 -04:00 |
|
Tom MacWright
|
947a1d9c1a
|
Resolve lints
|
2016-09-03 19:08:03 -04:00 |
|
Tom MacWright
|
3af54610ca
|
Refactor customEvent system to use d3.customEvent
|
2016-09-03 17:56:56 -04:00 |
|
Bryan Housel
|
a86f34b4ef
|
Pacify eslint, get build and tests running again
|
2016-08-26 01:15:07 -04:00 |
|
Tom MacWright
|
cdb533fa84
|
Begin d3 v4 update
|
2016-08-21 15:19:27 -04:00 |
|
Tom MacWright
|
af776501d3
|
Require locale, second pass (#3259)
* Require locale, second pass
* Remove t global, remove t where it isn't needed
|
2016-07-21 16:20:13 -04:00 |
|
Tom MacWright
|
604d1e2719
|
import lodash (#3257)
|
2016-07-19 12:04:16 -04:00 |
|
Kushan Joshi
|
39c82af158
|
Sort modules [eslint rule]
|
2016-07-06 12:12:08 +05:30 |
|
Kushan Joshi
|
33b2b1e6fd
|
external modules for modes
|
2016-06-22 12:34:43 +05:30 |
|
David Culverhouse
|
34904f0525
|
Migrate "modes" into ES6 modules for #3118
|
2016-06-15 00:11:32 -04:00 |
|