mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Move ARDOUR_UI::ui_scale into UIConfiguration class
This commit is contained in:
parent
74db5abc7e
commit
45d487f16e
22 changed files with 46 additions and 43 deletions
|
|
@ -414,7 +414,7 @@ Editor::Editor ()
|
|||
|
||||
samples_per_pixel = 2048; /* too early to use reset_zoom () */
|
||||
|
||||
timebar_height = std::max(12., ceil (15. * ARDOUR_UI::ui_scale));
|
||||
timebar_height = std::max(12., ceil (15. * ARDOUR_UI::config()->get_ui_scale()));
|
||||
TimeAxisView::setup_sizes ();
|
||||
ArdourMarker::setup_sizes (timebar_height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue