changed: #grabWindowImage
authorClaus Gittinger <cg@exept.de>
Mon, 02 Nov 2009 18:01:18 +0100
changeset 2704 0791984eef02
parent 2703 3ea780aba713
child 2705 64aa9ac2e8a1
changed: #grabWindowImage make view visible before taking the screen image
ImageEditor.st
--- a/ImageEditor.st	Mon Nov 02 15:57:28 2009 +0100
+++ b/ImageEditor.st	Mon Nov 02 18:01:18 2009 +0100
@@ -5976,6 +5976,9 @@
         |v|
 
         (v := Screen current viewFromUser) notNil ifTrue:[
+            v topView raise.
+            v topView makeFullyVisible.
+            Delay waitForSeconds:0.5.   "/ give view a chance to redraw itself.
             Image fromView:(v topView)
         ].
     ].