#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Wed, 02 Nov 2016 14:49:15 +0100
changeset 5941 c38ea1820a2d
parent 5940 4fe0f23d90b9
child 5942 828121e0baf0
#REFACTORING by cg class: ObjectView changed: #defineGrid
ObjectView.st
--- a/ObjectView.st	Mon Oct 31 14:45:42 2016 +0100
+++ b/ObjectView.st	Wed Nov 02 14:49:15 2016 +0100
@@ -1663,8 +1663,11 @@
     self withWaitCursorDo:[
         |xp yp y x|
 
-        ((bigStepH isInteger and:[littleStepH isNil or:[littleStepH isInteger]])
-        and:[(bigStepV isInteger and:[littleStepV isNil or:[littleStepV isInteger]])]) ifTrue:[
+        (bigStepH isInteger 
+            and:[ (littleStepH isNil or:[littleStepH isInteger])
+            and:[ bigStepV isInteger 
+            and:[ littleStepV isNil or:[littleStepV isInteger]]]]
+        ) ifTrue:[
             gridW := bigStepH.
             littleStepH notNil ifTrue:[gridW := gridW max:littleStepH].
             gridH := bigStepV.