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 +1 -1
- package/src/window_selector.mm +7 -6
package/package.json
CHANGED
package/src/window_selector.mm
CHANGED
|
@@ -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:
|
|
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.
|
|
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:
|
|
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.
|
|
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
|
|