Commit Graph

3608 Commits

Author SHA1 Message Date
Quincy Morgan
e2cd879c81 Account for canceled pointers in behaviorSelect 2020-05-27 16:55:04 -04:00
Quincy Morgan
0c8d237d17 Don't let down pointers trigger selection when raised after a long press 2020-05-27 15:54:39 -04:00
Quincy Morgan
38db23fab5 Extend behaviorHover to support multiple pointers 2020-05-27 15:07:23 -04:00
Quincy Morgan
cb5365f743 Persist down pointer multiselection between browse/select mode transitions 2020-05-27 12:33:53 -04:00
Quincy Morgan
4646c11ff1 Continue multiselection while the triggering pointer is down even if the targeted feature is deselected 2020-05-27 11:33:32 -04:00
Quincy Morgan
5b399623e9 Enable multiselection on touch devices when tapping on features with a pointer already down on a selected feature (close #7590)
Reuse modeSelect when changing entity selection if possible
2020-05-26 17:21:48 -04:00
Quincy Morgan
caec202a08 Fix potential JS error and some formatting 2020-05-26 13:47:15 -04:00
Quincy Morgan
bd376a3a7d Fix lint error 2020-05-26 10:52:04 -04:00
Jacob Scherber
e11070d3a3 cleanup coding style 2020-05-23 15:50:27 -07:00
Jacob Scherber
e8233247d3 add highlight to multi-select hover 2020-05-23 15:06:58 -07:00
Quincy Morgan
869a0c6b89 Make the draw modes reuse their behaviorDraw when re-entering
Move click-end-node-to-finish functionality from draw modes to behaviorDraw
Fix issue where the head node would get hover-highlighted when continuing from the end of a line
2020-05-22 15:05:35 -04:00
Quincy Morgan
63aa47f02f Fix issue with entering language codes directly in multilingual name fields (close #7156) 2020-05-21 14:33:10 -04:00
Quincy Morgan
640d22b298 Prevent default drag and drop of background tile images if interaction handlers don't prevent dragging for some reason 2020-05-21 14:06:28 -04:00
Quincy Morgan
67bd93b14c Fix sidebar drag-resizing when iD is embedded at x!=0 2020-05-21 13:54:28 -04:00
Quincy Morgan
0a7f05b4a5 Fix console error with dragging midpoints 2020-05-21 13:35:50 -04:00
Quincy Morgan
dcc66f7d8e Never show the preset list when hover-selecting 2020-05-21 13:25:59 -04:00
Quincy Morgan
ca80926db7 Increase time tolerance for discarding iOS 13.4 mouse pointerenter event 2020-05-21 12:34:19 -04:00
Quincy Morgan
5cb23acc00 Enable sidebar resizing with touch input using pointer events (re: #5505) 2020-05-21 12:32:08 -04:00
Quincy Morgan
1c1f40cf80 Fix issue with maxspeed field updating 2020-05-21 10:52:32 -04:00
Quincy Morgan
35eaf7045c Round ESRI background accuracy and resolution labels to four decimal places (close #7573) 2020-05-21 10:43:19 -04:00
Quincy Morgan
d6c0c329df Sort lassoed nodes more sensibly than just random 2020-05-20 16:49:03 -04:00
Quincy Morgan
cb698fb9d3 Add endpoints for setting the default changeset parameters (close #7614)
Make the cached changeset a property of the context
Properly clear cached changeset when resetting iD
2020-05-20 14:48:27 -04:00
Quincy Morgan
9954b3636e Update multilingual name button tooltip (close #7486) 2020-05-20 12:08:42 -04:00
Quincy Morgan
41418e57a5 Fix issues with wikidata field searching and label updating 2020-05-20 11:23:01 -04:00
Quincy Morgan
95f8e36a2a Add a small tolerance to node dragging so selecting them no longer requires zero movement (close #1981) 2020-05-19 17:24:47 -04:00
Quincy Morgan
4515363779 Fix issue where merging adjacent points in a loop could disconnect the loop from itself (close #7553) 2020-05-19 15:41:38 -04:00
Quincy Morgan
a0ae1bf1de Prevent nudging the selection during low-zoom editing 2020-05-19 12:11:03 -04:00
Quincy Morgan
311566328e Enable nudging the selection via shift+arrow keys and shift+command+arrow keys to nudge more (close #7186)
No longer nudge the viewport with shift+arrow keys
2020-05-19 12:08:14 -04:00
Quincy Morgan
c4f5dbbc4c Don't register spacebar-to-select unless the pointer is over the map 2020-05-19 11:13:03 -04:00
Quincy Morgan
ec73a88e26 Don't show tooltips when the mouse has buttons pressed 2020-05-19 11:11:50 -04:00
Quincy Morgan
02f57eb23a Don't add default field values when upgrading to a replacement preset (close #7613) 2020-05-19 10:26:53 -04:00
Quincy Morgan
7b09b6c0dc Enable low-zoom display of focused feature when resolving conflicts (close #7330) 2020-05-18 17:14:50 -04:00
Quincy Morgan
b5140f25a4 Merge branch 'develop' into 1ec5-custom-wms-template-7428 2020-05-18 15:00:44 -04:00
Quincy Morgan
a5091c3bd0 Account for pointerId and simplify position calculations in doubleUp (re: #7611) 2020-05-18 09:58:15 -04:00
SilentSpike
24d83926e2 Fix white Osmose icons after changes upload
Prevent those elements of the Osmose service cache from being purged on
reset.

Fixes #7609
2020-05-17 17:41:44 +01:00
Quincy Morgan
e319aebc41 Fix several circumstances where the edit menu could appear unexpectedly 2020-05-15 15:22:36 -04:00
Quincy Morgan
3bebda08fd Don't display tooltips for non-mouse interaction on iOS 13.4 (re: #6035) 2020-05-15 14:52:11 -04:00
Quincy Morgan
1f45ad933a Don't show hover tooltips for non-mouse pointerenter events (re: #6035) 2020-05-15 12:12:43 -04:00
Quincy Morgan
e079e120bf Make behaviorDrag ignore non-active pointers (re: #6745) 2020-05-15 11:31:36 -04:00
Quincy Morgan
084d9336c4 Anchor pasted features to the position they were copied if done so with the edit menu (re: #2508) 2020-05-15 10:55:23 -04:00
Quincy Morgan
21ed04ed65 Limit Copy operation by visible extent (close #7603) 2020-05-15 09:51:50 -04:00
Quincy Morgan
834b8b4d6c Fix issue where dynamic tooltips titles might not get updated 2020-05-14 16:56:29 -04:00
Quincy Morgan
db9eed2434 Move the edit menu logic to uiInit
Make context the first argument of operation objects
Add Paste operation to edit menu when opening the context menu on a blank area of the map (close #2508)
2020-05-14 15:49:35 -04:00
Quincy Morgan
c939924f83 Fix issue with pressing spacebar in select modes 2020-05-14 13:09:25 -04:00
Quincy Morgan
a0ad92e6e0 Always show the edit menu at the location of the triggering event 2020-05-14 12:32:43 -04:00
Quincy Morgan
dff4268256 Allow selection, deselection, and multiselection with the spacebar (re: #3843)
Don't open the edit menu on single spacebar press
Open the edit menu for long spacebar press (re: #7577)
2020-05-14 11:19:20 -04:00
Quincy Morgan
8799011abc Fix code tests 2020-05-13 16:04:40 -04:00
Quincy Morgan
0278e700a0 Convert feature copying functionality from a standalone behavior to an operation and add to edit menu (re: #2508)
Show flash feedback message when copying features with keyboard shortcut
Disallow copying of untagged vertices
2020-05-13 15:42:28 -04:00
Quincy Morgan
e0a23723da Enable extracting lines to POIs (close #7598) 2020-05-13 11:59:55 -04:00
Quincy Morgan
04bdc4da1c Make the extract operation a single step instead of immediately entering modeMove (close #6674) 2020-05-13 10:58:53 -04:00