node-mac-recorder 2.10.24 → 2.10.25

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.24",
3
+ "version": "2.10.25",
4
4
  "description": "Native macOS screen recording package for Node.js applications",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -108,19 +108,26 @@ void updateScreenOverlays();
108
108
  xRadius:8.0
109
109
  yRadius:8.0];
110
110
 
111
- // Fill color only - no border
111
+ // Fill color with 1px border
112
112
  NSColor *fillColor;
113
+ NSColor *strokeColor;
113
114
 
114
115
  if (self.isToggled) {
115
116
  // Locked state: slightly different opacity
116
117
  fillColor = [NSColor colorWithRed:0.6 green:0.4 blue:0.9 alpha:0.5];
118
+ strokeColor = [NSColor colorWithRed:0.45 green:0.25 blue:0.75 alpha:0.9];
117
119
  } else {
118
120
  // Normal state: standard fill
119
121
  fillColor = [NSColor colorWithRed:0.6 green:0.4 blue:0.9 alpha:0.4];
122
+ strokeColor = [NSColor whiteColor];
120
123
  }
121
124
 
122
125
  [fillColor setFill];
123
126
  [highlightPath fill];
127
+
128
+ [strokeColor setStroke];
129
+ [highlightPath setLineWidth:1.0];
130
+ [highlightPath stroke];
124
131
  }
125
132
 
126
133
  - (void)updateAppearance {