node-mac-recorder 2.10.6 → 2.10.8
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 +1 -1
- package/src/window_selector.mm +8 -8
package/package.json
CHANGED
package/src/window_selector.mm
CHANGED
|
@@ -77,20 +77,20 @@ void updateScreenOverlays();
|
|
|
77
77
|
|
|
78
78
|
- (void)updateAppearance {
|
|
79
79
|
if (self.isToggled) {
|
|
80
|
-
// Toggled window: same background, thick border
|
|
80
|
+
// Toggled window: same background, thick border with darker version of fill color
|
|
81
81
|
self.layer.backgroundColor = [[NSColor colorWithRed:0.6 green:0.4 blue:0.9 alpha:0.4] CGColor];
|
|
82
|
-
self.layer.borderColor = [[NSColor
|
|
82
|
+
self.layer.borderColor = [[NSColor colorWithRed:0.45 green:0.25 blue:0.75 alpha:0.9] CGColor]; // Darker purple
|
|
83
83
|
self.layer.borderWidth = 3.0;
|
|
84
84
|
} else if (self.isActiveWindow) {
|
|
85
|
-
// Active window: brighter background,
|
|
85
|
+
// Active window: brighter background, thin white border
|
|
86
86
|
self.layer.backgroundColor = [[NSColor colorWithRed:0.6 green:0.4 blue:0.9 alpha:0.4] CGColor];
|
|
87
|
-
self.layer.borderColor = [[NSColor
|
|
88
|
-
self.layer.borderWidth =
|
|
87
|
+
self.layer.borderColor = [[NSColor whiteColor] CGColor];
|
|
88
|
+
self.layer.borderWidth = 1.0;
|
|
89
89
|
} else {
|
|
90
|
-
// Inactive window: dimmer background,
|
|
90
|
+
// Inactive window: dimmer background, thin white border
|
|
91
91
|
self.layer.backgroundColor = [[NSColor colorWithRed:0.4 green:0.2 blue:0.6 alpha:0.25] CGColor];
|
|
92
|
-
self.layer.borderColor = [[NSColor
|
|
93
|
-
self.layer.borderWidth =
|
|
92
|
+
self.layer.borderColor = [[NSColor whiteColor] CGColor];
|
|
93
|
+
self.layer.borderWidth = 1.0;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
self.layer.cornerRadius = 8.0;
|