mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 07:58:10 +02:00
label-freetype: Measure control even if hidden
Sometimes we want to query the size of hidden labels too, so it's important we still compute the size, even if hidden.
This commit is contained in:
parent
3b5dce92d4
commit
bacce720ee
1 changed files with 0 additions and 5 deletions
|
|
@ -289,11 +289,6 @@ size_control (ply_label_plugin_control_t *label,
|
|||
if (!force && !label->needs_size_update)
|
||||
return;
|
||||
|
||||
if (!force && label->is_hidden) {
|
||||
label->needs_size_update = true;
|
||||
return;
|
||||
}
|
||||
|
||||
if (label->rich_text == NULL && label->text == NULL) {
|
||||
label->area.width = 0;
|
||||
label->area.height = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue