Skip to content

Commit

Permalink
fixed action bars with new SpToolbarMorph changes
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Nov 10, 2020
1 parent b25dd30 commit 5ce2c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Spec2-Adapters-Morphic/SpMorphicActionBarAdapter.class.st
Expand Up @@ -21,9 +21,9 @@ SpMorphicActionBarAdapter >> addModelTo: aMorph [

self flag: #TODO. "Maybe validate they are just buttons inside?"
(self model items at: #start ifAbsent: [ #() ]) do: [ :each |
aMorph submorphs first addMorphBack: (self buildActionButton: each) ].
aMorph addItemLeft: (self buildActionButton: each) ].
(self model items at: #end ifAbsent: [ #() ]) reverseDo: [ :each |
aMorph submorphs second addMorphBack: (self buildActionButton: each) ]
aMorph addItemRight: (self buildActionButton: each) ]
]

{ #category : #factory }
Expand Down

0 comments on commit 5ce2c1f

Please sign in to comment.