@lvce-editor/explorer-view 7.30.2 → 7.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4302,14 +4302,16 @@ const expandRecursively = async state => {
|
|
|
4302
4302
|
|
|
4303
4303
|
const focus = state => {
|
|
4304
4304
|
const {
|
|
4305
|
-
focus
|
|
4305
|
+
focus,
|
|
4306
|
+
focused
|
|
4306
4307
|
} = state;
|
|
4307
|
-
if (focus) {
|
|
4308
|
+
if (focus && focused) {
|
|
4308
4309
|
return state;
|
|
4309
4310
|
}
|
|
4310
4311
|
return {
|
|
4311
4312
|
...state,
|
|
4312
|
-
focus: List
|
|
4313
|
+
focus: focus || List,
|
|
4314
|
+
focused: true
|
|
4313
4315
|
};
|
|
4314
4316
|
};
|
|
4315
4317
|
|