summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-06 15:00:30 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-06 15:00:30 +0000
commitb44c92e5aed634eb4cbb2ed4aaafc57a66f275e5 (patch)
treea32afd20eec20d0cf11afb90cf56c5bb9e59b018 /src/tools
parentde0df88ec4c6e4e36fe31765239041a35513c94c (diff)
Fix bars at side/top/bottom of image in full-screen player (#1397).
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_player.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc
index 7008495c6..ff30ee68b 100644
--- a/src/tools/dcpomatic_player.cc
+++ b/src/tools/dcpomatic_player.cc
@@ -763,6 +763,7 @@ private:
_info->Show (_mode != Config::PLAYER_MODE_FULL);
_overall_panel->SetBackgroundColour (_mode == Config::PLAYER_MODE_FULL ? wxColour(0, 0, 0) : wxNullColour);
ShowFullScreen (_mode == Config::PLAYER_MODE_FULL);
+ _viewer->set_pad_black (_mode != Config::PLAYER_MODE_WINDOW);
if (_mode == Config::PLAYER_MODE_DUAL) {
_dual_screen = new wxFrame (this, wxID_ANY, wxT(""));