node-mac-recorder 2.21.45 → 2.21.46
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/cursor_tracker.mm +9 -4
package/package.json
CHANGED
package/src/cursor_tracker.mm
CHANGED
|
@@ -1261,6 +1261,12 @@ static NSString* cursorTypeFromSeed(int seed) {
|
|
|
1261
1261
|
if (override) {
|
|
1262
1262
|
return override;
|
|
1263
1263
|
}
|
|
1264
|
+
|
|
1265
|
+
buildRuntimeSeedMapping();
|
|
1266
|
+
NSString *runtime = [g_seedToTypeMap objectForKey:key];
|
|
1267
|
+
if (runtime) {
|
|
1268
|
+
return runtime;
|
|
1269
|
+
}
|
|
1264
1270
|
}
|
|
1265
1271
|
switch(seed) {
|
|
1266
1272
|
case 741324: return @"auto";
|
|
@@ -1710,10 +1716,9 @@ static NSString* detectSystemCursorType(void) {
|
|
|
1710
1716
|
dispatch_sync(dispatch_get_main_queue(), fetchCursorBlock);
|
|
1711
1717
|
}
|
|
1712
1718
|
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
// }
|
|
1719
|
+
if (cursorType && ![cursorType isEqualToString:@"default"] && cursorSeed > 0 && detectedCursor) {
|
|
1720
|
+
addCursorToSeedMap(detectedCursor, cursorType, cursorSeed);
|
|
1721
|
+
}
|
|
1717
1722
|
|
|
1718
1723
|
return cursorType;
|
|
1719
1724
|
}
|