#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Wed, 16 Nov 2016 23:15:54 +0100
changeset 5332 32b9a3b4abdb
parent 5331 05820770f2af
child 5333 2b7391c82d5c
#DOCUMENTATION by cg class: ImageEditView comment/format in: #makeSubImageX:y:width:height:
ImageEditView.st
--- a/ImageEditView.st	Wed Nov 16 23:15:25 2016 +0100
+++ b/ImageEditView.st	Wed Nov 16 23:15:54 2016 +0100
@@ -1283,8 +1283,8 @@
     needRedraw := true.
     (oldX == 0 and:[oldY == 0]) ifTrue:[
         needRedraw := false.
-        redrawRect1 := ((newWidth@0) * magnification) corner:((oldWidth@oldHeight)+1 * magnification).
-        redrawRect2 := ((0@newHeight) * magnification) corner:((oldWidth@oldHeight)+1 * magnification).
+        redrawRect1 := ((newWidth@0) * magnification) corner:(((oldWidth@oldHeight)+1) * magnification).
+        redrawRect2 := ((0@newHeight) * magnification) corner:(((oldWidth@oldHeight)+1) * magnification).
     ].
     self image:newImage scroll:false invalidate:needRedraw.
     redrawRect1 notNil ifTrue:[
@@ -1295,8 +1295,9 @@
     ].
     self setModified.
 
-    "Created: / 7.9.1998 / 13:00:16 / cg"
-    "Modified: / 7.9.1998 / 14:15:32 / cg"
+    "Created: / 07-09-1998 / 13:00:16 / cg"
+    "Modified: / 07-09-1998 / 14:15:32 / cg"
+    "Modified (format): / 16-11-2016 / 23:07:50 / cg"
 !
 
 makeUndo