]> git.seodisparate.com - mpd_info_screen/commitdiff
Fix unintended change of font scaling behavior
authorStephen Seo <seo.disparate@gmail.com>
Sun, 31 Jul 2022 07:47:25 +0000 (16:47 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Sun, 31 Jul 2022 07:47:25 +0000 (16:47 +0900)
src/display.rs

index 6af0be4c2f71d9a0c951a387d6424be49750231a..5f2f4e209c8b466de9b9aec326a8e5051295b95e 100644 (file)
@@ -359,7 +359,7 @@ impl MPDDisplay {
                     for fragment in text.fragments_mut() {
                         fragment.scale = Some(PxScale {
                             x: current_x,
-                            y: current_y,
+                            y: diff_scale_y,
                         });
                     }
                     *timer_x = current_x;