From 882f5c4b78f5d2300881e0dbf27f4a8e5c3d0b8d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 27 Mar 2021 00:04:47 +0100 Subject: [PATCH] Fix odd difference on handling of x and y scale for subtitles in the UI. --- src/wx/text_panel.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } } -- 2.30.2