339 Commits

Author SHA1 Message Date
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
42a6530796 Do not attach dragNode behavior in browse mode 2017-01-10 10:41:58 +10:00
Bryan Housel
45ad0842dd Pacify eslint 2016-12-28 01:16:57 -05:00
popov
19b0a771f6 make vertex by midpoint double-clicking 2016-12-28 15:32:47 +10:00
Bryan Housel
37534aed0e More cleanup of operations and post-paste behavior
* Support move, rotate, reflect, delete post paste on multiselection
* Improve text and error msgs for singular vs multi selections
* Move `disabled` checks from actions to operations
* Reproject center of rotation (closes #3667)
* Cleanup tests
2016-12-21 23:58:13 -05:00
Bryan Housel
38e4900355 Allow rotate of multiple selected objects
(closes #1719)
2016-12-21 16:44:40 -05:00
Bryan Housel
573f476cdd Rename actionRotateWay -> actionRotate 2016-12-20 22:38:30 -05:00
Bryan Housel
a2f50f4485 Support behaviors in Rotate mode 2016-12-20 14:55:02 -05:00
Bryan Housel
57696ab5eb Rename rotate-way mode to just rotate 2016-12-20 13:44:39 -05:00
Bryan Housel
087a8c62d1 Behaviors for all Operations 2016-12-20 00:28:24 -05:00
Bryan Housel
068a40e6cc Support Reflect behaviors in Move mode
Also some refactor and added support diagonal nudging
2016-12-19 16:56:32 -05:00
Bryan Housel
d69c4d6d9a Don't highlight previous parent way
(closes #3657)
2016-12-17 23:13:10 -05:00
Bryan Housel
2267035dfb Support both reflect long axis and reflect short axis operations 2016-12-16 13:59:33 -05:00
Bryan Housel
dc5da7b480 Follow next vertex when deleting, add suppressMenu when vertex following 2016-12-09 12:11:24 -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
9b7d79a3fe Use live bound object for presets object, change context.presets() getter 2016-11-14 15:44:02 -05:00
Bryan Housel
774b3a0ccd Add '\' key to toggle related parent, add .related class (like hover) 2016-11-07 13:44:25 -05:00
Bryan Housel
2562460962 Exit to browse mode if selected items gone, only in response to user drags 2016-11-07 11:46:38 -05:00
Bryan Housel
3224130821 Add uiCmd to fix modifier, add keybind arrays to simplify code 2016-11-04 10:17:30 -04:00
Bryan Housel
d1c7b5c8a2 Add alternate vertex navigation keys pgup/pdgown/home/end 2016-11-04 09:49:26 -04:00
Bryan Housel
eb7c56d310 Add vertex keyboard navigation
(closes #1917)
2016-11-01 21:43:26 -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
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
ed135ce9ef Enable lib tests 2016-09-05 10:22:45 -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
Bryan Housel
1021f6266f Merge branch 'master' into d3-v4 2016-08-25 16:22:50 -04:00
Bryan Housel
5a045933c6 Rename confirm -> uiconfirm and import to save.js
(closes #3373)
2016-08-24 16:03:23 -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
Bryan Housel
7ca6d06254 Replace iD global with iD.Context() module (#3254) 2016-07-19 10:15:32 -04:00
Kushan Joshi
39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Tom MacWright
b15338b964 Use local jxon 2016-07-05 19:00:12 -04:00
Kushan Joshi
780960c711 interim 2016-07-06 00:34:35 +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