MCPcopy
hub / github.com/Eugeny/tabby / updateWindowControlsColor

Method updateWindowControlsColor

tabby-electron/src/index.ts:190–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188 }
189
190 private updateWindowControlsColor () {
191 // if windows and not using native frame, WCO does not exist, return.
192 if (this.hostApp.platform === Platform.Windows && this.config.store.appearance.frame === 'native') {
193 return
194 }
195
196 this.electron.ipcRenderer.send('window-set-window-controls-color', this.config.store.terminal.colorScheme)
197 }
198}
199
200export { ElectronHostWindow, ElectronHostAppService, ElectronService }

Callers 1

constructorMethod · 0.95

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected