From 8335155863b39cb54e5241a53c3686e667e65450 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 5 May 2017 13:58:59 +0200 Subject: [PATCH] fix ruler scaling -- #7226 --- gtk2_ardour/editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 6c069940e2..0d6eb33416 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -491,7 +491,7 @@ Editor::Editor () location_loop_color = UIConfiguration::instance().color ("location loop"); location_punch_color = UIConfiguration::instance().color ("location punch"); - timebar_height = std::max(12., ceil (15. * ARDOUR_UI::ui_scale)); + timebar_height = std::max (12., ceil (15. * UIConfiguration::instance().get_ui_scale())); TimeAxisView::setup_sizes (); ArdourMarker::setup_sizes (timebar_height);