Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abacus_window.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/abacus_window.py b/abacus_window.py
index dd04aed..0e06bcd 100644
--- a/abacus_window.py
+++ b/abacus_window.py
@@ -806,14 +806,15 @@ class Abacus():
self.scale = 1.33 * Gdk.Screen.height() / 900.0
else:
self.scale = 1.33 * Gdk.Screen.width() / 1200.0
- if Gdk.Screen.width() / 14 < style.GRID_CELL_SIZE:
- for sep in self.activity.sep:
- sep.hide()
- sep.props.draw = False
- else:
- for sep in self.activity.sep:
- sep.show()
- sep.props.draw = True
+ if self.sugar:
+ if Gdk.Screen.width() / 14 < style.GRID_CELL_SIZE:
+ for sep in self.activity.sep:
+ sep.hide()
+ sep.props.draw = False
+ else:
+ for sep in self.activity.sep:
+ sep.show()
+ sep.props.draw = True
self.canvas.set_size_request(Gdk.Screen.width(), Gdk.Screen.height())
self.mode.hide()
self.mode.show(reset=True)