@lvce-editor/title-bar-worker 4.15.8 → 4.15.9
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.
|
@@ -5148,9 +5148,13 @@ const selectIndexIgnore = async (state, item) => {
|
|
|
5148
5148
|
};
|
|
5149
5149
|
|
|
5150
5150
|
const selectIndexNone = async (state, item) => {
|
|
5151
|
+
const {
|
|
5152
|
+
uid
|
|
5153
|
+
} = state;
|
|
5151
5154
|
await executeMenuItemCommand(item);
|
|
5155
|
+
const latestState = get(uid)?.newState ?? state;
|
|
5152
5156
|
return {
|
|
5153
|
-
...
|
|
5157
|
+
...latestState,
|
|
5154
5158
|
focusedIndex: -1,
|
|
5155
5159
|
isMenuOpen: false,
|
|
5156
5160
|
menus: []
|