13
0

canvas: fix typo in using explicit size request

This commit is contained in:
Paul Davis 2024-11-05 14:53:54 -07:00
parent 75177f3ef8
commit 370b045715

View File

@ -650,7 +650,7 @@ Item::size_request (double& w, double& h) const
Rect r (bounding_box()); Rect r (bounding_box());
w = _requested_width < 0 ? r.width() : _requested_width; w = _requested_width < 0 ? r.width() : _requested_width;
h = _requested_width < 0 ? r.height() : _requested_height; h = _requested_height < 0 ? r.height() : _requested_height;
} }
void void