Extend maximum crop to 4096 (#1401).
authorCarl Hetherington <cth@carlh.net>
Mon, 12 Nov 2018 00:26:50 +0000 (00:26 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 12 Nov 2018 00:26:50 +0000 (00:26 +0000)
src/wx/video_panel.cc

index 2ae4e0fb799bb6f0f3d3ee9861c9961caa0d78b2..c525c10036d7dfba6479bdabc69c09f84a24efe4 100644 (file)
@@ -174,10 +174,10 @@ VideoPanel::VideoPanel (ContentPanel* p)
        _description = new wxStaticText (this, wxID_ANY, wxT ("\n \n \n \n \n"), wxDefaultPosition, wxDefaultSize);
        _description->SetFont(font);
 
-       _left_crop->wrapped()->SetRange (0, 1024);
-       _top_crop->wrapped()->SetRange (0, 1024);
-       _right_crop->wrapped()->SetRange (0, 1024);
-       _bottom_crop->wrapped()->SetRange (0, 1024);
+       _left_crop->wrapped()->SetRange (0, 4096);
+       _top_crop->wrapped()->SetRange (0, 4096);
+       _right_crop->wrapped()->SetRange (0, 4096);
+       _bottom_crop->wrapped()->SetRange (0, 4096);
 
        _scale->wrapped()->Clear ();
        BOOST_FOREACH (VideoContentScale const & i, VideoContentScale::all ()) {