--- a/ImageEditor.st Tue Mar 27 20:12:29 2018 +0200
+++ b/ImageEditor.st Mon Apr 09 12:02:22 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1997-1998 by eXept Software AG
All Rights Reserved
@@ -2783,19 +2785,19 @@
translateLabel: true
)
(MenuItem
- enabled: hasColormapAndSingleWritableColorSelectedHolder
+ enabled: hasColormapAndColorSelected
label: 'Brighter'
itemValue: makeSelectedColorBrighter
translateLabel: true
)
(MenuItem
- enabled: hasColormapAndSingleWritableColorSelectedHolder
+ enabled: hasColormapAndColorSelected
label: 'Darker'
itemValue: makeSelectedColorDarker
translateLabel: true
)
(MenuItem
- enabled: hasColormapAndSingleWritableColorSelectedHolder
+ enabled: hasColormapAndColorSelected
label: 'Make Gray'
itemValue: makeSelectedColorGray
translateLabel: true
@@ -4878,7 +4880,8 @@
!
hasColormapAndSingleWritableColorSelectedHolder
- ^ [ self hasColormapAndSingleColorSelected and:[self canChangeColorInColormap ]]
+ ^ [ self hasColormapAndSingleColorSelected
+ and:[self canChangeColorInColormap ]]
"Created: / 31-08-2017 / 18:42:46 / cg"
!
@@ -5727,8 +5730,8 @@
resourceSelector notNil ifTrue:[
^ resources
string:(self modified
- ifTrue:['Image (modified) from: %1 » %2']
- ifFalse:['Image from: %1 » %2'])
+ ifTrue:['Image (modified) from: %1 » %2']
+ ifFalse:['Image from: %1 » %2'])
with:resourceClass name
with:resourceSelector
].