@lvce-editor/activity-bar-worker 7.7.0 → 7.9.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
|
};
|
|
@@ -2996,7 +2998,7 @@ const getActivityBarItemVirtualDom = item => {
|
|
|
2996
2998
|
const ariaSelected = getAriaSelected(isTab, isSelected);
|
|
2997
2999
|
const marginTop = flags & MarginTop;
|
|
2998
3000
|
const className = getClassName(isFocused, marginTop, isSelected);
|
|
2999
|
-
if (isSelected) {
|
|
3001
|
+
if (isSelected && !badgeText) {
|
|
3000
3002
|
return [{
|
|
3001
3003
|
ariaHasPopup,
|
|
3002
3004
|
ariaLabel: '',
|