node-mac-recorder 2.10.23 → 2.10.24

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.23",
3
+ "version": "2.10.24",
4
4
  "description": "Native macOS screen recording package for Node.js applications",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -210,13 +210,11 @@ void updateScreenOverlays();
210
210
 
211
211
  - (void)mouseEntered:(NSEvent *)event {
212
212
  self.isHovered = YES;
213
- [self animateScale:1.2 duration:0.15];
214
213
  [[NSCursor pointingHandCursor] set];
215
214
  }
216
215
 
217
216
  - (void)mouseExited:(NSEvent *)event {
218
217
  self.isHovered = NO;
219
- [self animateScale:1.0 duration:0.15];
220
218
  [[NSCursor arrowCursor] set];
221
219
  }
222
220
 
@@ -546,6 +544,9 @@ NSArray* getAllSelectableWindows() {
546
544
  if ([windowOwner isEqualToString:@"WindowServer"]) continue;
547
545
  if ([windowOwner isEqualToString:@"Dock"]) continue;
548
546
 
547
+ // Skip Electron windows (our own overlay)
548
+ if ([windowOwner containsString:@"Electron"] || [windowOwner containsString:@"node"]) continue;
549
+
549
550
  // Extract bounds
550
551
  int x = [[bounds objectForKey:@"X"] intValue];
551
552
  int y = [[bounds objectForKey:@"Y"] intValue];
@@ -1358,7 +1359,7 @@ bool startScreenSelection() {
1358
1359
 
1359
1360
  // Modern button styling with new RGB color
1360
1361
  [selectButton setWantsLayer:YES];
1361
- [selectButton.layer setBackgroundColor:[[NSColor colorWithRed:77.0/255.0 green:30.0/255.0 blue:231.0/255.0 alpha:0.95] CGColor]];
1362
+ [selectButton.layer setBackgroundColor:[[NSColor colorWithRed:90.0/255.0 green:50.0/255.0 blue:250.0/255.0 alpha:1.0] CGColor]];
1362
1363
  [selectButton.layer setCornerRadius:8.0];
1363
1364
  [selectButton.layer setBorderWidth:0.0];
1364
1365
 
@@ -1400,7 +1401,7 @@ bool startScreenSelection() {
1400
1401
 
1401
1402
  // Modern cancel button styling - darker gray, clean
1402
1403
  [screenCancelButton setWantsLayer:YES];
1403
- [screenCancelButton.layer setBackgroundColor:[[NSColor colorWithRed:0.35 green:0.35 blue:0.4 alpha:0.9] CGColor]];
1404
+ [screenCancelButton.layer setBackgroundColor:[[NSColor colorWithRed:0.4 green:0.4 blue:0.45 alpha:1.0] CGColor]];
1404
1405
  [screenCancelButton.layer setCornerRadius:8.0];
1405
1406
  [screenCancelButton.layer setBorderWidth:0.0];
1406
1407
 
@@ -1775,7 +1776,7 @@ Napi::Value StartWindowSelection(const Napi::CallbackInfo& info) {
1775
1776
 
1776
1777
  // Modern button styling with new RGB color
1777
1778
  [g_selectButton setWantsLayer:YES];
1778
- [g_selectButton.layer setBackgroundColor:[[NSColor colorWithRed:77.0/255.0 green:30.0/255.0 blue:231.0/255.0 alpha:0.95] CGColor]];
1779
+ [g_selectButton.layer setBackgroundColor:[[NSColor colorWithRed:90.0/255.0 green:50.0/255.0 blue:250.0/255.0 alpha:1.0] CGColor]];
1779
1780
  [g_selectButton.layer setCornerRadius:8.0];
1780
1781
  [g_selectButton.layer setBorderWidth:0.0];
1781
1782
 
@@ -1816,7 +1817,7 @@ Napi::Value StartWindowSelection(const Napi::CallbackInfo& info) {
1816
1817
 
1817
1818
  // Modern cancel button styling - darker gray, clean
1818
1819
  [cancelButton setWantsLayer:YES];
1819
- [cancelButton.layer setBackgroundColor:[[NSColor colorWithRed:0.35 green:0.35 blue:0.4 alpha:0.9] CGColor]];
1820
+ [cancelButton.layer setBackgroundColor:[[NSColor colorWithRed:0.4 green:0.4 blue:0.45 alpha:1.0] CGColor]];
1820
1821
  [cancelButton.layer setCornerRadius:8.0];
1821
1822
  [cancelButton.layer setBorderWidth:0.0];
1822
1823