mirror of
https://github.com/Eugeny/tabby
synced 2024-11-14 08:57:21 +00:00
Modify the NSVisualEffectView material in app/lib/window.ts to "fullscreen-ui" on macOS to achieve a more glass-like effect.
This commit is contained in:
parent
3740166ace
commit
5fca7ccf7b
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ abstract class GlasstronWindow extends BrowserWindow {
|
|||
abstract setBlur (_: boolean)
|
||||
}
|
||||
|
||||
const macOSVibrancyType: any = process.platform === 'darwin' ? compareVersions(macOSRelease().version || '0.0', '10.14', '>=') ? 'under-window' : 'dark' : null
|
||||
const macOSVibrancyType: any = process.platform === 'darwin' ? compareVersions(macOSRelease().version || '0.0', '10.14', '>=') ? 'fullscreen-ui' : 'dark' : null
|
||||
|
||||
const activityIcon = nativeImage.createFromPath(`${app.getAppPath()}/assets/activity.png`)
|
||||
|
||||
|
|
Loading…
Reference in a new issue