You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#137 added layer range selection in JS (using Shift and Ctrl modifier keys to expand a selection in the Layer Tree panel). See LayerTree.vue for the handleControlClick(), handleShiftClick(), handleClick(), deselectAllLayers(), fillSelectionRange(), clearSelection(), and sendSelectedLayers() methods which pertain to this. Currently range selection mostly works (although there are bugs that can cause index out of bounds exceptions in JS), but it is very limited and buggy. Changing the list of layers (adding, duplicating, moving, etc.) causes problems with the selection context. Range selection will also need to work across folders. Another problem is that range selection does not preserve a shared context between layer selection in the Layer Tree panel and within the viewport. This shared context needs to understand which layer was most recently selected to know which range to expand from.
Another small detail is that Shift is the only modifier key used for range selection of layers in the viewport, since but Ctrl is also used in the Layer Tree panel. That's because the viewport only adds/removes layers from the selection while the Layer Tree does that and also does range selection from the recent selected layer context.
The text was updated successfully, but these errors were encountered:
#137 added layer range selection in JS (using Shift and Ctrl modifier keys to expand a selection in the Layer Tree panel). See LayerTree.vue for the
handleControlClick()
,handleShiftClick()
,handleClick()
,deselectAllLayers()
,fillSelectionRange()
,clearSelection()
, andsendSelectedLayers()
methods which pertain to this. Currently range selection mostly works (although there are bugs that can cause index out of bounds exceptions in JS), but it is very limited and buggy. Changing the list of layers (adding, duplicating, moving, etc.) causes problems with the selection context. Range selection will also need to work across folders. Another problem is that range selection does not preserve a shared context between layer selection in the Layer Tree panel and within the viewport. This shared context needs to understand which layer was most recently selected to know which range to expand from.Another small detail is that Shift is the only modifier key used for range selection of layers in the viewport, since but Ctrl is also used in the Layer Tree panel. That's because the viewport only adds/removes layers from the selection while the Layer Tree does that and also does range selection from the recent selected layer context.
The text was updated successfully, but these errors were encountered: