Comments (6)
ok but is this on master branch?
Also, from Electron's docs:
Please note that using
frame: false
in combination with a vibrancy value requires that you use a non-defaulttitleBarStyle
as well
from glasstron.
Yep - master. Looks like an array gets passed to setVibrancy
here: 424075d#diff-748ec3715bf7cb233256e7732e80a644d9e75e74a5080942e33ff3cd7e5afe8cR81 and also _vibrancy[1]
is always null
if you only use setVibrancy
without setBlur
from glasstron.
Yep - master. Looks like an array gets passed to
setVibrancy
here: 424075d#diff-748ec3715bf7cb233256e7732e80a644d9e75e74a5080942e33ff3cd7e5afe8cR81 and also_vibrancy[1]
is alwaysnull
if you only usesetVibrancy
withoutsetBlur
I was trying to wrap Electron's setVibrancy
so that I can also provide a global switch with setBlur
and a way to get the vibrancy
value back. Not really needed as you know but I want them there. I still lack a Mac to test my approach and maybe there's a bug I never dug up just by looking at the code.
In Glasstron's realm, you toggle the blur via setBlur()
and vibrancy
is just a property like blurType
is on Windows
from glasstron.
Does it work as intended in 0.0.6?
from glasstron.
No. In platforms/darwin.js, _vibrancy[1]
is used to actually set vibrancy, but it's always null. You probably should check vibrancy[0]
here: https://github.com/AryToNeX/Glasstron/blob/master/src/platforms/darwin.js#L75
from glasstron.
Can you test it and make a pull request? I am with you on that one thing, but I got really no time to make the change myself lately.
from glasstron.
Related Issues (20)
- Unusual behavior when AlwaysOnTop = screen-saver HOT 3
- Gnome Blur don't work HOT 2
- Can't Remove White Tint on Windows 11 with Acrylic Blur HOT 6
- Cannot find module './platforms/win32.js' HOT 1
- [Electron-Vue] Webpack does not recognize a language feature that Glasstron uses HOT 3
- Window not snapping (Windows 10) HOT 8
- Error: Bad atom - X11 HOT 7
- TitleBar White?? HOT 14
- Glasstron is transparent on Mac OS HOT 3
- Add support for windows 11 mica blur HOT 8
- Hey, how do I implement this into a page that uses a webview. HOT 2
- Blur types in Linux HOT 4
- Plans for Glasstron 2 HOT 1
- Add Acrylic Transparency Options HOT 2
- Can you provide binary *. node files in releases page HOT 1
- Not working on macOS Big Sur HOT 9
- Which build tools do I need? (Windows) HOT 4
- Abnormal Window Dragging Latency with Acrylic Blur HOT 1
- Window not spawning, error with electron.app.getPath (not found) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glasstron.