node-mac-recorder 2.7.6 → 2.8.1
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 +2 -3
package/package.json
CHANGED
package/src/window_selector.mm
CHANGED
|
@@ -1811,9 +1811,8 @@ Napi::Value GetSelectedWindowInfo(const Napi::CallbackInfo& info) {
|
|
|
1811
1811
|
result.Set("screenWidth", Napi::Number::New(env, (int)screenFrame.size.width));
|
|
1812
1812
|
result.Set("screenHeight", Napi::Number::New(env, (int)screenFrame.size.height));
|
|
1813
1813
|
|
|
1814
|
-
//
|
|
1815
|
-
|
|
1816
|
-
g_selectedWindowInfo = nil;
|
|
1814
|
+
// Don't clear selected window info - just read it
|
|
1815
|
+
// The info will be cleared when recording actually starts
|
|
1817
1816
|
|
|
1818
1817
|
return result;
|
|
1819
1818
|
|