noobs 0.0.32 → 0.0.33
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/dist/noobs.node +0 -0
- package/package.json +1 -1
- package/src/main.cpp +1 -1
package/dist/noobs.node
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/main.cpp
CHANGED
|
@@ -191,7 +191,7 @@ Napi::Value ObsSetSourcePos(const Napi::CallbackInfo& info) {
|
|
|
191
191
|
throw std::runtime_error("Obs not initialized");
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
bool valid = info.Length() ==
|
|
194
|
+
bool valid = info.Length() == 5 &&
|
|
195
195
|
info[0].IsString() && // Source name
|
|
196
196
|
info[1].IsNumber() && // X position (px)
|
|
197
197
|
info[2].IsNumber() && // Y position (px)
|