From c2e8f4d493283084a99994b5130c60633ee66083 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 30 Apr 2022 10:03:07 +0200 Subject: [PATCH] Another macOS build fix. --- src/wx/content_menu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 7e4659479..ed515f6c8 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -555,7 +555,7 @@ ContentMenu::auto_crop () auto const content = _content.front(); auto const current_crop = content->video->actual_crop(); viewer->set_crop_guess ( - Rect( + dcpomatic::Rect( static_cast(std::max(0, crop.left - current_crop.left)) / content->video->size().width, static_cast(std::max(0, crop.top - current_crop.top)) / content->video->size().height, 1.0f - (static_cast(std::max(0, crop.left - current_crop.left + crop.right - current_crop.right)) / content->video->size().width), -- 2.30.2