mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
when GUI scale changes, drop Canvas::Text font size maps
This commit is contained in:
parent
211b3ea668
commit
d129a64890
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,8 @@
|
|||
#include "gtkmm2ext/rgb_macros.h"
|
||||
#include "gtkmm2ext/gtk_ui.h"
|
||||
|
||||
#include "canvas/text.h"
|
||||
|
||||
#include "ui_config.h"
|
||||
|
||||
#include "pbd/i18n.h"
|
||||
|
|
@ -133,6 +135,8 @@ UIConfiguration::parameter_changed (string param)
|
|||
load_rc_file (true);
|
||||
} else if (param == "color-file") {
|
||||
load_color_theme (true);
|
||||
} else if (param == "font-scale") {
|
||||
ArdourCanvas::Text::drop_height_maps ();
|
||||
}
|
||||
|
||||
save_state ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue