Skip to content

Commit e092705

Browse files
authored
remove wiggle when configuring menus (microsoft#164018)
fixes microsoft#162292
1 parent 95d7950 commit e092705

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

src/vs/platform/actions/browser/menuEntryActionViewItem.css

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,6 @@
1111
background-size: 16px;
1212
}
1313

14-
@keyframes shift {
15-
0% {
16-
transform: translateX(0px);
17-
}
18-
19-
33%{
20-
transform: translateX(0.5px);
21-
}
22-
23-
66% {
24-
transform: translateX(-0.5px);
25-
}
26-
}
27-
28-
.monaco-toolbar.config .monaco-action-bar .action-item {
29-
animation-duration: 1.2s;
30-
animation-iteration-count: infinite;
31-
animation-name: shift;
32-
}
33-
34-
.monaco-toolbar.config .monaco-action-bar .action-item:nth-child(odd) {
35-
animation-delay: 0.6s;
36-
}
37-
3814
.monaco-dropdown-with-default {
3915
display: flex !important;
4016
flex-direction: row;

src/vs/platform/actions/browser/toolbar.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,16 +187,13 @@ export class WorkbenchToolBar extends ToolBar {
187187
}));
188188
}
189189

190-
// this.getElement().classList.toggle('config', true);
191-
192190
this._contextMenuService.showContextMenu({
193191
getAnchor: () => e,
194192
getActions: () => actions,
195193
// add context menu actions (iff appicable)
196194
menuId: this._options?.contextMenu,
197195
menuActionOptions: { renderShortTitle: true, ...this._options?.menuOptions },
198196
contextKeyService: this._contextKeyService,
199-
onHide: () => this.getElement().classList.toggle('config', false),
200197
});
201198
}));
202199
}

0 commit comments

Comments
 (0)