@lvce-editor/activity-bar-worker 7.7.0 → 7.8.0
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.
|
@@ -1774,10 +1774,12 @@ const show2 = async (uid, menuId, x, y, args) => {
|
|
|
1774
1774
|
const ACCOUNT_MENU_ID = 32_122;
|
|
1775
1775
|
const handleClickAccount = async (state, eventX, eventY, viewletId) => {
|
|
1776
1776
|
const {
|
|
1777
|
+
sideBarLocation,
|
|
1777
1778
|
uid
|
|
1778
1779
|
} = state;
|
|
1779
1780
|
await show2(uid, ACCOUNT_MENU_ID, eventX, eventY, {
|
|
1780
|
-
menuId: ACCOUNT_MENU_ID
|
|
1781
|
+
menuId: ACCOUNT_MENU_ID,
|
|
1782
|
+
openSubMenuToLeft: sideBarLocation === Right
|
|
1781
1783
|
});
|
|
1782
1784
|
return state;
|
|
1783
1785
|
};
|