canvas: fix typo in using explicit size request
This commit is contained in:
parent
75177f3ef8
commit
370b045715
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user