From 4ded1e7df48536869a4fd3c526a5fa493f56dec6 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sun, 2 Jan 2022 16:10:36 -0600 Subject: [PATCH] fitted_canvas: second part of 3784aa --- gtk2_ardour/fitted_canvas_widget.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/fitted_canvas_widget.cc b/gtk2_ardour/fitted_canvas_widget.cc index a81bd3f8af..7ada9d8b6b 100644 --- a/gtk2_ardour/fitted_canvas_widget.cc +++ b/gtk2_ardour/fitted_canvas_widget.cc @@ -65,10 +65,10 @@ FittedCanvasWidget::on_size_request (Gtk::Requisition* req) { const double scale = _follow_scale ? UIConfiguration::instance ().get_ui_scale () : 1; if (_nominal_width > 0) { - req->width = _nominal_width * scale; + req->width = nominal_width() * scale; } if (_nominal_height > 0) { - req->height = _nominal_height * scale; + req->height = nominal_height() * scale; } }