From 7f9f8f11af4a3bb32e0e8f86c3f6986a1f0e9d1e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 12 Nov 2018 00:26:50 +0000 Subject: Extend maximum crop to 4096 (#1401). --- src/wx/video_panel.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 ()) { -- cgit v1.2.3