You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
why are there two AlternativeKeyEmitter (here, here), can they not be reused/shared
I originally created the second one because the original was used for the alternative actions throughout the workbench, but that behavior was still under discussion. Now, I've modified it by quite a bit to fit my needs and changed the name even.
what is the purpose of the resizer element in the title bar part?
On windows, the window can't be resized from a draggable region, so the resizer let's you grab from the top.
why are the window buttons called chrome-xy? google chrome?
Some follow up from code review that I consider more debt and not bugs which is fine to look at for July:
remove the titlebarPart.css transition rule unless there is a need for itLooks like it is being used (Make titlebar more consistent with Windows 10 #53211 (comment))
vscode.toggleAutoSave
which I think is no longer needed thenFILE_MENU_FAKE_OPEN_FILE_COMMAND_ID
?AlternativeKeyEmitter
(here, here), can they not be reused/shared?resizer
element in the title bar part?chrome-xy
? google chrome?querySelect
to find the element, rather keep it as fieldmenubarPart
is should use thebuilder
pattern either fully or not, but partially is a bit weird, e.g.this.customMenus[menuIndex].titleElement.getHTMLElement().onmouseenter
vs.this.customMenus[menuIndex].titleElement.on(EventType.CLICK, (event) => {
menubarPart
is not properly cleaning up disposeables, for example this:this.configurationService.onDidChangeConfiguration(e => this.onConfigurationUpdated(e));
should be
this._register(this.configurationService.onDidChangeConfiguration(e => this.onConfigurationUpdated(e)));
The text was updated successfully, but these errors were encountered: