Skip to content

Commit

Permalink
Modify the NSVisualEffectView material in app/lib/window.ts to "fulls…
Browse files Browse the repository at this point in the history
…creen-ui" on macOS to achieve a more glass-like effect.
  • Loading branch information
fireblue committed Aug 23, 2024
1 parent 3740166 commit 5fca7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

Expand Down

0 comments on commit 5fca7cc

Please sign in to comment.