Skip to content

Commit fcdc62a

Browse files
committed
Fix title bar on Windows and Linux
1 parent 3ecac76 commit fcdc62a

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

extensions/vuengine-studio-extension/src/touchbar/electron-browser/ves-touchbar-electron-menu-contribution.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ export class VesElectronMenuContribution extends ElectronMenuContribution {
5858
}
5959
}
6060

61+
protected createCustomTitleBar(app: FrontendApplication): void {
62+
// override this with an empty function to prevent theia from layering its own top panel over our custom one
63+
}
64+
6165
protected async vesBindTouchBar(): Promise<void> {
6266
await this.workspaceService.ready;
6367
// TODO: add more touchbar modes for emulator etc

extensions/vuengine-studio-extension/src/touchbar/electron-main/ves-touchbar-electron-main-application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class VesElectronMainApplication extends ElectronMainApplication {
9494
}
9595

9696
protected getTitleBarStyle(config: FrontendApplicationConfig): 'native' | 'custom' {
97-
return 'native';
97+
return 'custom';
9898
}
9999

100100
protected registerVesTouchBar(electronWindow: BrowserWindow, workspaceOpened: boolean): void {

0 commit comments

Comments
 (0)