Skip to content

Commit

Permalink
fix top bar disapearing
Browse files Browse the repository at this point in the history
  • Loading branch information
PapyElGringo committed Jul 20, 2019
1 parent 5012135 commit 2aad584
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 10 additions & 3 deletions superWorkspace/superWorkspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ const CategorizedAppCard =
const { Stack } = Me.imports.widget.layout;

var SuperWorkspace = class SuperWorkspace {
constructor(categoryKey, category, apps, monitor, visible) {
constructor(
superWorkspaceManager,
categoryKey,
category,
apps,
monitor,
visible
) {
this.superWorkspaceManager = superWorkspaceManager;
this.categoryKey = categoryKey;
this.category = category;
this.monitor = monitor;
Expand Down Expand Up @@ -209,8 +217,7 @@ var SuperWorkspace = class SuperWorkspace {
});
return (
!containFullscreenWindow &&
(global.superWorkspaceManager &&
!global.superWorkspaceManager.noUImode)
(this.superWorkspaceManager && !this.superWorkspaceManager.noUImode)
);
}

Expand Down
2 changes: 2 additions & 0 deletions superWorkspace/superWorkspaceManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var SuperWorkspaceManager = class SuperWorkspaceManager {
if (!this.appsByCategory[key].length) continue;
if (category.primary) {
let superWorkspace = new SuperWorkspace(
this,
key,
category,
this.appsByCategory[key],
Expand All @@ -36,6 +37,7 @@ var SuperWorkspaceManager = class SuperWorkspaceManager {
continue;
}
let superWorkspace = new SuperWorkspace(
this,
key,
category,
this.appsByCategory[key],
Expand Down

0 comments on commit 2aad584

Please sign in to comment.