dash: add a workaround for Clutter bug 692744

https://bugzilla.gnome.org/show_bug.cgi?id=690643
This commit is contained in:
Giovanni Campagna 2013-01-28 23:22:23 +01:00
parent 8e7d74bc3b
commit 8bcb10391e

View File

@ -789,6 +789,10 @@ const Dash = new Lang.Class({
for (let i = 0; i < addedItems.length; i++) { for (let i = 0; i < addedItems.length; i++) {
addedItems[i].item.show(animate); addedItems[i].item.show(animate);
} }
// Workaround for https://bugzilla.gnome.org/show_bug.cgi?id=692744
// Without it, StBoxLayout may use a stale size cache
this._box.queue_relayout();
}, },
_clearDragPlaceholder: function() { _clearDragPlaceholder: function() {