From: Carl Hetherington Date: Fri, 26 Mar 2021 23:04:47 +0000 (+0100) Subject: Fix odd difference on handling of x and y scale for subtitles in the UI. X-Git-Tag: v2.15.137~9 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=882f5c4b78f5d2300881e0dbf27f4a8e5c3d0b8d;p=dcpomatic.git Fix odd difference on handling of x and y scale for subtitles in the UI. --- diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index 0a35e6497..8d295180a 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -631,9 +631,8 @@ TextPanel::y_offset_changed () void TextPanel::x_scale_changed () { - auto c = _parent->selected_text (); - if (c.size() == 1) { - c.front()->text_of_original_type(_original_type)->set_x_scale (_x_scale->GetValue() / 100.0); + for (auto i: _parent->selected_text ()) { + i->text_of_original_type(_original_type)->set_x_scale (_x_scale->GetValue() / 100.0); } }