diff options
author | Robin Gareus <robin@gareus.org> | 2017-05-05 13:58:59 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-05-05 14:00:30 +0200 |
commit | 8335155863b39cb54e5241a53c3686e667e65450 (patch) | |
tree | d453b21a4fe0ed840798b6242f1d3c680bfd2f58 /gtk2_ardour/editor.cc | |
parent | a3c70696b67d746155d6d139c9de418a74c1cf37 (diff) |
fix ruler scaling -- #7226
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 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); |