Another macOS build fix.
authorCarl Hetherington <cth@carlh.net>
Sat, 30 Apr 2022 08:03:07 +0000 (10:03 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 30 Apr 2022 08:03:07 +0000 (10:03 +0200)
src/wx/content_menu.cc

index 7e465947999b802782c54bf374bcc6e29326ce35..ed515f6c8041ee1fd678330a9c53a349791d6c6a 100644 (file)
@@ -555,7 +555,7 @@ ContentMenu::auto_crop ()
                auto const content = _content.front();
                auto const current_crop = content->video->actual_crop();
                viewer->set_crop_guess (
                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),
                                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),