Fix overview on 3.36.4

This commit is contained in:
Charles Gagnon
2020-07-07 21:30:11 -04:00
parent cddc28d8c6
commit eff0322dc1

View File

@@ -558,8 +558,15 @@ var dtpPanelManager = Utils.defineClass({
this._workspacesViews.forEach(wv => Main.layoutManager.overviewGroup.add_actor(wv.actor));
this._updateWorkspacesFullGeometry();
this._updateWorkspacesActualGeometry();
if (Config.PACKAGE_VERSION > '3.36.3') {
if (this._fullGeometry)
this._syncWorkspacesFullGeometry();
if (this._actualGeometry)
this._syncWorkspacesActualGeometry();
} else {
this._updateWorkspacesFullGeometry();
this._updateWorkspacesActualGeometry();
}
},
_newGetShowAppsButton: function() {