projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f45c71
)
Fix odd difference on handling of x and y scale for subtitles in the UI.
author
Carl Hetherington
<cth@carlh.net>
Fri, 26 Mar 2021 23:04:47 +0000
(
00:04
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 26 Mar 2021 23:04:47 +0000
(
00:04
+0100)
src/wx/text_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/text_panel.cc
b/src/wx/text_panel.cc
index 0a35e649704e9484244ac944cd2ec8b748e9f594..8d295180a0dfd910c8c5530d6a897c7c99b61d32 100644
(file)
--- 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);
}
}