CairoGraphicsContext.st
changeset 75 e3ca2f982493
parent 74 94902e358396
child 76 f3deda9cea3e
--- a/CairoGraphicsContext.st	Mon Apr 04 18:47:45 2016 +0100
+++ b/CairoGraphicsContext.st	Tue Apr 05 07:44:27 2016 +0100
@@ -163,9 +163,8 @@
 
     super clippingBounds:aRectangleOrNil.
     cr notNil ifTrue:[ 
-        aRectangleOrNil isNil ifTrue:[ 
-            cr clipReset
-        ] ifFalse:[ 
+        cr clipReset.
+        aRectangleOrNil notNil ifTrue:[ 
             cr rectangleX: aRectangleOrNil left
                         y: aRectangleOrNil top
                     width: aRectangleOrNil width
@@ -176,7 +175,7 @@
 
     "Created: / 15-02-2016 / 21:38:05 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 25-03-2016 / 06:58:26 / jv"
-    "Modified: / 27-03-2016 / 00:05:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 04-04-2016 / 21:01:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 deviceClippingBounds:aRectangleOrNil