summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-31 20:26:54 +0100
committerCarl Hetherington <cth@carlh.net>2022-08-25 22:11:11 +0200
commiteefc15f383c694cb8f08b02330c6d5b46f2256b5 (patch)
tree7c7c2d044163ab5fa06d43edebbb02e5d1738bd1 /src
parentb23999166fd30944457297541707b7455474a7a7 (diff)
fixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359).
Allow -ve values.
Diffstat (limited to 'src')
-rw-r--r--src/wx/text_panel.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc
index 980d8fd27..718e65f81 100644
--- a/src/wx/text_panel.cc
+++ b/src/wx/text_panel.cc
@@ -128,6 +128,7 @@ TextPanel::create ()
_x_scale->SetRange (0, 1000);
_y_scale->SetRange (0, 1000);
_line_spacing->SetRange (0, 1000);
+ _z_position->SetRange (-100, 100);
_reference->Bind (wxEVT_CHECKBOX, boost::bind (&TextPanel::reference_clicked, this));
_use->Bind (wxEVT_CHECKBOX, boost::bind (&TextPanel::use_toggled, this));