Skip to content

Commit

Permalink
Do not make multi-windows visible if there is only one window (#1675)
Browse files Browse the repository at this point in the history
* Do not make multi-windows visible if there is only one window

* Keep the multi-window controls if in private mode too
  • Loading branch information
keianhzo authored and bluemarvin committed Aug 27, 2019
1 parent 686fdbe commit 9be94c1
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -720,7 +720,9 @@ public void enterResizeMode() {

public void exitResizeMode() {
for (WindowWidget window : getCurrentWindows()) {
window.getTopBar().setVisible(true);
if (getCurrentWindows().size() > 1 || isInPrivateMode()) {
window.getTopBar().setVisible(true);
}
}
}

Expand Down

0 comments on commit 9be94c1

Please sign in to comment.