summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-12 00:26:50 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-12 00:26:50 +0000
commit7f9f8f11af4a3bb32e0e8f86c3f6986a1f0e9d1e (patch)
tree40a50a964d419010f48aa26169ba89165ebd3df6
parentefce7d4edd7f9d55626a198c6c541a93bcc5eaf4 (diff)
Extend maximum crop to 4096 (#1401).
-rw-r--r--src/wx/video_panel.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 2ae4e0fb7..c525c1003 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -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 ()) {