Edit mode prep (#2370)

* remove edit mode

* small rename

* update with compat with old edit mode

* exit edit mode still needed

* add log to export
This commit is contained in:
Kurt Hutten
2024-05-21 05:55:34 +10:00
committed by GitHub
parent 031b230690
commit d73339fd8d
5 changed files with 33 additions and 8 deletions

View File

@ -56,7 +56,7 @@ function CommandBarSelectionInput({
// In future the engine's edit mode will go away and this will be handled differently.
useEffect(() => {
kclManager.exitEditMode()
return () => kclManager.enterEditMode()
return () => kclManager.defaultSelectionFilter()
}, [])
// Fast-forward through this arg if it's marked as skippable