ImageView.st
changeset 5778 50aff5f8d07f
parent 5777 14cf639d3fce
child 5779 b5698ce18620
--- a/ImageView.st	Mon May 28 14:17:07 2018 +0200
+++ b/ImageView.st	Mon May 28 14:21:10 2018 +0200
@@ -708,7 +708,7 @@
         imgWidth := image width.
         imgHeight := image height.
 
-        (adj includesString:'fit' caseSensitive:false) ifTrue:[
+        (#(fit fitBig fitSmall) includes:adj) ifTrue:[
             magnificationFactor := explicitMagnificationFactor.
         ].
 
@@ -778,7 +778,7 @@
 
     "Modified: / 06-09-2017 / 12:52:19 / Maren"
     "Modified: / 04-10-2017 / 16:43:44 / cg"
-    "Modified: / 28-05-2018 / 14:13:00 / Claus Gittinger"
+    "Modified: / 28-05-2018 / 14:20:59 / Claus Gittinger"
 !
 
 redrawX:x y:y width:w height:h