noobs 0.0.65 → 0.0.66
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/obs_interface.cpp +3 -2
package/dist/noobs.node
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/obs_interface.cpp
CHANGED
|
@@ -575,7 +575,7 @@ void draw_callback(void* data, uint32_t cx, uint32_t cy) {
|
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
void ObsInterface::initPreview(HWND parent) {
|
|
578
|
-
blog(LOG_INFO, "ObsInterface::
|
|
578
|
+
blog(LOG_INFO, "ObsInterface::initPreview");
|
|
579
579
|
|
|
580
580
|
if (!preview_hwnd) {
|
|
581
581
|
blog(LOG_INFO, "Creating preview child window");
|
|
@@ -638,7 +638,7 @@ void ObsInterface::showPreview(int x, int y, int width, int height) {
|
|
|
638
638
|
NULL, // No Z-order change
|
|
639
639
|
x, y, // New position (x, y)
|
|
640
640
|
width, height, // New size (width, height)
|
|
641
|
-
|
|
641
|
+
SWP_NOACTIVATE // Flags
|
|
642
642
|
);
|
|
643
643
|
|
|
644
644
|
if (!success) {
|
|
@@ -646,6 +646,7 @@ void ObsInterface::showPreview(int x, int y, int width, int height) {
|
|
|
646
646
|
return;
|
|
647
647
|
}
|
|
648
648
|
|
|
649
|
+
obs_display_resize(display, width, height);
|
|
649
650
|
ShowWindow(preview_hwnd, SW_SHOW);
|
|
650
651
|
obs_display_set_enabled(display, true);
|
|
651
652
|
}
|