label-pango: Fix inverted conditional

Right now we skip sizing the control when force == true because
of an inverted conditional.

This commit fixes that.
This commit is contained in:
Ray Strode 2023-12-28 10:53:02 -05:00
parent 07992537e8
commit 1b6c4b8684

View file

@ -319,7 +319,7 @@ size_control (ply_label_plugin_control_t *label,
int text_width;
int text_height;
if (force && !label->needs_size_update)
if (!force && !label->needs_size_update)
return; /* Size already is up to date */
if (!force && label->is_hidden) {