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.
a2cf4f32ec/src/point.js (L4-L9)
2017-01-29 17:11:55 -05:00
Bryan Housel
ca409966db
Watch for mousemove/mouseup on window, not selection
...
(closes #3800 )
2017-01-26 16:29:49 -05:00
Bryan Housel
b407fb0c17
Remove workaround for old rollup bug
2017-01-22 21:49:25 -05:00
Bryan Housel
fd9b3931d8
Use temp names for temp segments
...
(closes #1369 )
2017-01-13 18:44:42 +05:30
Bryan Housel
45b7a40557
Fix area drawing for #3676
...
These changes are needed now that `addNode`
* wants to preserve circularity
* automatically remove duplicates
* range checks index argument (can't call it with -1 anymore)
2017-01-12 19:30:07 +05:30
popov
19b0a771f6
make vertex by midpoint double-clicking
2016-12-28 15:32:47 +10:00
Bryan Housel
addd12ae99
Exclude child nodes from newIDs if their parent way was also copied
...
for #3656 item 1
2016-12-20 01:31:49 -05:00
Bryan Housel
087a8c62d1
Behaviors for all Operations
2016-12-20 00:28:24 -05:00
Bryan Housel
1884c7070e
Add a keybinding behavior for operations
2016-12-19 16:55:11 -05:00
Bryan Housel
8a66b3d892
Don't enter iD.modeSelect without valid entities in selectedIDs
2016-12-09 11:32:14 -05:00
Bryan Housel
af3db7ea36
Swap url hash map order to zoom/latitude/longitude
...
(closes #3554 )
2016-11-10 09:56:20 -05:00
Bryan Housel
98d484fc1f
Restore hover behavior to restrictions editor, add breathe behavior
...
The issue was: now that selections are immutable you can't add behaviors
to them unless they are already entered. i.e. the surface selection in
enter does not end up being the real surface after merging to update.
2016-10-30 11:35:36 -04:00
Bryan Housel
07fa5fcc34
Refactor Entity, Node, Relation, Tags, Way from core to osm
2016-10-11 22:41:24 -04:00
Bryan Housel
1c3e778baf
Check for rtl url parameter for testing (rather than regex)
2016-10-08 12:45:01 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
348a973f68
A few changes to make things work and test with Node 4, 5, 6
2016-09-29 10:53:07 -04:00
Bryan Housel
e4509cc123
Update all dependencies, remove d3 from the greenkeeper ignore list
...
Also add a few workarounds for a few weird rollup v0.36 issues
2016-09-26 00:42:51 -04:00
Bryan Housel
b90c5459ab
Add RatchetyInterpolator for breathe behavior
...
The interpolator now just runs a few discrete steps, avoiding most of the
repainting that was causing high CPU and noisy laptop fans. And it still
looks pretty good.
(closes #2911 )
2016-09-24 23:22:00 -04:00
Bryan Housel
ab1b5ad39c
Fix hover behavior
2016-09-24 00:55:35 -04:00
Bryan Housel
12afac526b
Fix breathe behavior
2016-09-24 00:13:28 -04:00
Tom MacWright
ed135ce9ef
Enable lib tests
2016-09-05 10:22:45 -04:00
Tom MacWright
760c515c8a
Fix source toggle, fix way drawing
2016-09-04 17:33:42 -04:00
Tom MacWright
2910eaddbb
Fix point adding
2016-09-04 10:52:57 -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
Tom MacWright
202482519a
Disable caching to save memory, fix event.of hack, remove console.log
2016-09-03 17:01:25 -04:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -04:00
Tom MacWright
580b907b30
Fix timers
2016-08-24 10:11:21 -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
780960c711
interim
2016-07-06 00:34:35 +05:30
Kushan Joshi
0939983515
external modules for behavior
2016-06-22 12:34:43 +05:30
Kushan Joshi
14f0d95e94
modularize iD.behavior
2016-06-17 12:53:19 +05:30