messageList: Floor preferred height of LabelExpanderLayout
This fixes the flickering when expanding/collapsing an expandable message inside a NotificationMessageGroup. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3012>
This commit is contained in:

committed by
Marge Bot

parent
b4113b1ee2
commit
ef4af961bf
@ -277,7 +277,7 @@ const LabelExpanderLayout = GObject.registerClass({
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
return [min, nat];
|
return [Math.floor(min), Math.floor(nat)];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user