Another macOS build fix with Rect.
authorCarl Hetherington <cth@carlh.net>
Sun, 16 Jan 2022 13:49:06 +0000 (14:49 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 16 Jan 2022 13:49:06 +0000 (14:49 +0100)
src/wx/content_menu.cc

index 48d5354ef83d8e78575b259d366c8520f1305458..532c6978b40061245a00988992596fab761885b2 100644 (file)
@@ -511,7 +511,7 @@ ContentMenu::auto_crop ()
                auto const content = _content.front();
                auto const current_crop = content->video->actual_crop();
                viewer->set_crop_guess (
-                       Rect<float>(
+                       dcpomatic::Rect<float>(
                                static_cast<float>(std::max(0, crop.left - current_crop.left)) / content->video->size().width,
                                static_cast<float>(std::max(0, crop.top - current_crop.top)) / content->video->size().height,
                                1.0f - (static_cast<float>(std::max(0, crop.left - current_crop.left + crop.right - current_crop.right)) / content->video->size().width),