[sushi/wip/cosimoc/no-clutter: 63/67] mainWindow: remove special check for zero-sized renderer
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/wip/cosimoc/no-clutter: 63/67] mainWindow: remove special check for zero-sized renderer
- Date: Mon, 30 Apr 2018 15:18:56 +0000 (UTC)
commit 2480a535d2cc00ade54a397bf71b68f15e5203e9
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Apr 9 11:55:42 2017 -0700
mainWindow: remove special check for zero-sized renderer
The spinner was causing this, but now we can just remove it.
src/js/ui/mainWindow.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index a5e2dfa..bf5da29 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -164,9 +164,6 @@ const MainWindow = new Lang.Class({
let windowSize = this._renderer.getSizeForAllocation(
[Constants.VIEW_MAX_W, Constants.VIEW_MAX_H]);
- if (windowSize[0] <= 0 || windowSize[1] <= 0)
- return;
-
this.resize(windowSize[0], windowSize[1]);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]