diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-04-29 21:30:07 +1000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-16 16:55:17 -0400 |
commit | 45d487f16e8be102bfcdefcd950a69c886495b94 (patch) | |
tree | c7c043a09d5f363030374330f1a7cd354d561c4b /gtk2_ardour/editor.cc | |
parent | 74db5abc7ea5429bc47942475841dfca328ab3ac (diff) |
Move ARDOUR_UI::ui_scale into UIConfiguration class
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index e69c28609e..0a51b0ee09 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -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); |