Martin Raifer
41aa127d23
reduce use of parseFloat
...
as it silently strips non-numeric suffixes (e.g. a value of "123 foo" is transformed into a numeric value of 123 by `parseFloat`, which is typically not what we desire)
2022-11-24 19:39:15 +01:00
Quincy Morgan
91b6844377
Implement cleaner solution for removing breathe styling from deselected features
2019-12-13 13:16:29 -05:00
Quincy Morgan
ff506fc332
Prevent partial rendering of selection style when showing only selected features at low zooms
2019-12-12 17:50:48 -05:00
Quincy Morgan
4b4ea122ad
Fix performance issue where breathe behavior would be called for each selected element instead of just for the surface ( close #3571 )
2019-12-10 13:42:11 -05:00
Bryan Housel
cda8f657ac
Swap fast-deep-equal for lodash isEqual
...
(re: #6087 )
2019-03-29 22:17:29 -04:00
Bryan Housel
152022aec4
Use context.keybinding for keybindings that don't change
...
(closes #5487 )
2018-11-13 20:57:21 -05:00
Bryan Housel
eba115803a
Variable cleanups in behavior and modes
2018-09-06 09:50:26 -04:00
Bryan Housel
75d2c45fd6
Convert lodah-es and d3 to named imports for behaviors
2017-09-24 21:43:54 -04:00
Bryan Housel
af757d31be
General usability improvements
...
* Reevaluate all featuers stroke widths for shadow, casing, stroke
* Shadow width is important to make sure all features are easily clickable
* Casing width is important to see oneway arrows
* Make sure all line styles have normal and low-zoom variants
* Show directional arrows for all waterway types
2017-03-16 16:16:35 -04:00
Bryan Housel
b407fb0c17
Remove workaround for old rollup bug
2017-01-22 21:49:25 -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
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
12afac526b
Fix breathe behavior
2016-09-24 00:13:28 -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
604d1e2719
import lodash ( #3257 )
2016-07-19 12:04:16 -04:00
Kushan Joshi
14f0d95e94
modularize iD.behavior
2016-06-17 12:53:19 +05:30