refactor(workbench): use persistent mode switch
This commit is contained in:
1 parent
c804a373ca
commit
00d5f7650f
5 files changed
+20
-41
No files matched your search
@@ -169,8 +169,8 @@ export function MapCanvas({
|
||||
});
|
||||
laneSelectionSourceRef.current = laneSelectionSource;
|
||||
laneSelectionLayerRef.current = laneSelectionLayer;
|
||||
// The v2 direct-edit sources below remain absent with the flag off. The lane
|
||||
// selection layer above is a regular v1 override affordance, not an edit source.
|
||||
// Direct-edit sources are always installed; visibility and hit testing follow
|
||||
// the in-page browser/edit switch.
|
||||
const handleLayer = new EditHandleLayer();
|
||||
const ghost = new EditGhostLayer();
|
||||
const previewLayer = new EditPreviewLayer(
|
||||
|
||||
Reference in new issue
Block a user