#BUGFIX by cg draft
authorClaus Gittinger <cg@exept.de>
Thu, 24 Aug 2017 17:02:18 +0200
changeset 3459 f264db47ed05
parent 3458 159bab42fdbb
child 3460 5d1d7e85222c
#BUGFIX by cg class: ImageEditor changed: #makeMonochromeImage
ImageEditor.st
--- a/ImageEditor.st	Thu Aug 24 16:43:47 2017 +0200
+++ b/ImageEditor.st	Thu Aug 24 17:02:18 2017 +0200
@@ -7972,7 +7972,7 @@
         slider width:1.0; leftInset:4; rightInset:4.
 
         box verticalPanel add:(preview := ImageView new).
-        preview extent:1.0 @300.
+        preview extent:300 @300.
         preview level:-1.
         box verticalPanel horizontalLayout:#fitSpace.
         
@@ -7988,9 +7988,9 @@
         box enterField acceptOnLostFocus:true.
         box enterField acceptOnLeave:true.
         thresholdValue onChangeEvaluate:update.
-        "/ box height:400.
+
     ] do:[
-        userInput := Dialog request:'Treshold (0=black; 1=white) ?' initialAnswer:0.5.
+        userInput := Dialog request:'Threshold (0=black; 1=white) ?' initialAnswer:0.5.
     ].
     userInput isEmptyOrNil ifTrue:[^ self].
     thresholdBrighness := Number readFrom:userInput onError:nil.
@@ -8000,7 +8000,7 @@
     imageEditView newImageWithUndo:(image asThresholdMonochromeImage:thresholdBrighness)
 
     "Created: / 24-08-2017 / 15:26:44 / cg"
-    "Modified (comment): / 24-08-2017 / 16:43:32 / cg"
+    "Modified (comment): / 24-08-2017 / 16:53:49 / cg"
 ! !
 
 !ImageEditor methodsFor:'user actions-image sequences'!