# HG changeset patch # User Claus Gittinger # Date 1487547896 -3600 # Node ID b93299ad5142336a4ba98135a3fc2e36059da346 # Parent a24b90b854e194707570e529efe1c38c5ad28d21 #FEATURE by cg class: ImageEditor added: #defaultEditTabIndex changed: #colorCropTabSelectionIndexHolder #cropSpec #postOpenWith: diff -r a24b90b854e1 -r b93299ad5142 ImageEditor.st --- a/ImageEditor.st Sun Feb 19 21:13:05 2017 +0100 +++ b/ImageEditor.st Mon Feb 20 00:44:56 2017 +0100 @@ -1595,7 +1595,7 @@ (ActionButtonSpec label: 'Crop All' name: 'Button4' - layout: (LayoutFrame 133 0 148 0 237 0 176 0) + layout: (LayoutFrame 133 0 148 0 268 0 176 0) activeHelpKey: cropAll translateLabel: true resizeForLabel: true @@ -4178,12 +4178,13 @@ |holder| (holder := builder bindingAt:#colorCropTabSelectionIndexHolder) isNil ifTrue:[ - builder aspectAt:#colorCropTabSelectionIndexHolder put:(holder := 1 asValue). + builder aspectAt:#colorCropTabSelectionIndexHolder put:(holder := self defaultEditTabIndex asValue). holder onChangeSend:#colorCropTabSelectionIndexChanged to:self. ]. ^ holder "Created: / 19-02-2017 / 14:59:11 / cg" + "Modified: / 19-02-2017 / 23:33:39 / cg" ! colorCropTabSpecList @@ -4250,6 +4251,14 @@ "Created: / 19-02-2017 / 15:09:35 / cg" ! +defaultEditTabIndex + "the default tab to show in the color/crop/fill tablist" + + ^ 1 + + "Created: / 19-02-2017 / 23:34:12 / cg" +! + floodFillBoxVisibleHolder |holder| @@ -5572,6 +5581,9 @@ aBuilder keyboardProcessor menuBar:nil. self windowGroup addPreEventHook:self. + self colorCropTabSelectionIndexChanged. + + "Modified: / 19-02-2017 / 23:39:10 / cg" ! ! !ImageEditor methodsFor:'user actions-colormap'!