node-mac-recorder 2.10.7 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-mac-recorder",
3
- "version": "2.10.7",
3
+ "version": "2.10.8",
4
4
  "description": "Native macOS screen recording package for Node.js applications",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -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 whiteColor] CGColor];
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, no border
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 clearColor] CGColor];
88
- self.layer.borderWidth = 0.0;
87
+ self.layer.borderColor = [[NSColor whiteColor] CGColor];
88
+ self.layer.borderWidth = 1.0;
89
89
  } else {
90
- // Inactive window: dimmer background, no border
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 clearColor] CGColor];
93
- self.layer.borderWidth = 0.0;
92
+ self.layer.borderColor = [[NSColor whiteColor] CGColor];
93
+ self.layer.borderWidth = 1.0;
94
94
  }
95
95
 
96
96
  self.layer.cornerRadius = 8.0;