fixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359).
authorCarl Hetherington <cth@carlh.net>
Mon, 31 Jan 2022 19:26:54 +0000 (20:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 25 Aug 2022 20:11:11 +0000 (22:11 +0200)
Allow -ve values.

src/wx/text_panel.cc

index 980d8fd279a59cc988b56f68fb7c5b3e4ed8690f..718e65f81d75c47f6553cc2fd173f3cd4a2a46c1 100644 (file)
@@ -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));