Skip to content

Commit

Permalink
Merge pull request #9899 from fireblue/master
Browse files Browse the repository at this point in the history
Modify the NSVisualEffectView material in app/lib/window.ts to "fullscreen-ui" on macOS to achieve a more glass-like effect.
  • Loading branch information
Eugeny authored Aug 23, 2024
2 parents 3740166 + 5fca7cc commit f4992c3
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 f4992c3

Please sign in to comment.