13
0

fitted_canvas: second part of 3784aa

This commit is contained in:
Ben Loftis 2022-01-02 16:10:36 -06:00
parent 942e362e18
commit 4ded1e7df4

View File

@ -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;
}
}