@zakim24/electron-liquid-glass 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/src/glass_effect.mm
CHANGED
|
@@ -111,9 +111,7 @@ extern "C" int AddGlassEffectView(unsigned char *buffer, bool opaque) {
|
|
|
111
111
|
backgroundView.fillColor = [NSColor windowBackgroundColor];
|
|
112
112
|
backgroundView.wantsLayer = YES;
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
// Add the background view first (bottom layer)
|
|
116
|
-
[container addSubview:backgroundView positioned:NSWindowBelow relativeTo:nil];
|
|
114
|
+
// Note: backgroundView will be added to windowFrame later, below contentView
|
|
117
115
|
}
|
|
118
116
|
} else {
|
|
119
117
|
/**
|