node-mac-recorder 2.10.35 → 2.10.36
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 +5 -5
package/package.json
CHANGED
package/src/window_selector.mm
CHANGED
|
@@ -387,9 +387,9 @@ void updateScreenOverlays();
|
|
|
387
387
|
self = [super initWithFrame:frameRect];
|
|
388
388
|
if (self) {
|
|
389
389
|
self.wantsLayer = YES;
|
|
390
|
-
// Semi-transparent
|
|
391
|
-
self.layer.backgroundColor = [[NSColor colorWithRed:0.
|
|
392
|
-
//
|
|
390
|
+
// Semi-transparent blue background for screen overlay (same as window overlay blue tint)
|
|
391
|
+
self.layer.backgroundColor = [[NSColor colorWithRed:0.27 green:0.0 blue:0.77 alpha:0.18] CGColor];
|
|
392
|
+
// Blue border for screen selection (same as window highlight)
|
|
393
393
|
self.layer.borderWidth = 1.0;
|
|
394
394
|
self.layer.borderColor = [[NSColor colorWithRed:0.27 green:0.0 blue:0.77 alpha:0.9] CGColor];
|
|
395
395
|
self.layer.cornerRadius = 8.0;
|
|
@@ -424,11 +424,11 @@ void updateScreenOverlays();
|
|
|
424
424
|
_isActiveScreen = isActive;
|
|
425
425
|
|
|
426
426
|
if (isActive) {
|
|
427
|
-
// Active screen: locked state
|
|
427
|
+
// Active screen: locked state blue border (same as window highlight locked)
|
|
428
428
|
self.layer.borderColor = [[NSColor colorWithRed:0.24 green:0.0 blue:0.69 alpha:0.95] CGColor];
|
|
429
429
|
self.layer.backgroundColor = [[NSColor colorWithRed:0.24 green:0.0 blue:0.69 alpha:0.278] CGColor];
|
|
430
430
|
} else {
|
|
431
|
-
// Inactive screen: normal state
|
|
431
|
+
// Inactive screen: normal state blue border (same as window highlight normal)
|
|
432
432
|
self.layer.borderColor = [[NSColor colorWithRed:0.27 green:0.0 blue:0.77 alpha:0.9] CGColor];
|
|
433
433
|
self.layer.backgroundColor = [[NSColor colorWithRed:0.27 green:0.0 blue:0.77 alpha:0.18] CGColor];
|
|
434
434
|
}
|