Skip to content

Commit

Permalink
a small but important fix
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed May 8, 2020
1 parent 55974d0 commit 9d31d18
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
11 changes: 9 additions & 2 deletions src/Spec2-Adapters-Morphic/SpToolBarButtonMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ SpToolBarButtonMorph >> hasBadge [
^ self badge notNil
]

{ #category : #style }
SpToolBarButtonMorph >> mouseOverBorderStyle [
^ BorderStyle simple
width: 0;
baseColor: Color transparent
]

{ #category : #accessing }
SpToolBarButtonMorph >> newBadgeFont [
| baseBadgeFont |
Expand All @@ -113,14 +120,14 @@ SpToolBarButtonMorph >> newBadgeFont [
weightValue: 700
]

{ #category : #accessing }
{ #category : #style }
SpToolBarButtonMorph >> normalBorderStyle [
^ BorderStyle simple
width: 0;
baseColor: Color transparent
]

{ #category : #accessing }
{ #category : #style }
SpToolBarButtonMorph >> normalFillStyle [
^ Color transparent
]
11 changes: 9 additions & 2 deletions src/Spec2-Adapters-Morphic/SpToolBarToggleButtonMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ SpToolBarToggleButtonMorph >> hasBadge [
^ self badge notNil
]

{ #category : #style }
SpToolBarToggleButtonMorph >> mouseOverBorderStyle [
^ BorderStyle simple
width: 0;
baseColor: Color transparent
]

{ #category : #accessing }
SpToolBarToggleButtonMorph >> newBadgeFont [
| baseBadgeFont |
Expand All @@ -116,14 +123,14 @@ SpToolBarToggleButtonMorph >> newBadgeFont [
weightValue: 700
]

{ #category : #accessing }
{ #category : #style }
SpToolBarToggleButtonMorph >> normalBorderStyle [
^ BorderStyle simple
width: 0;
baseColor: Color transparent
]

{ #category : #accessing }
{ #category : #style }
SpToolBarToggleButtonMorph >> normalFillStyle [
^ Color transparent
]
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ SpContactBookPresenter class >> buildCommandsGroupWith: presenterInstance forRoo

{ #category : #commands }
SpContactBookPresenter class >> buildContextualMenuGroupWith: presenterInstance [

^ (CmCommandGroup named: 'Context Menu') asSpecGroup
register: (self buildEditionGroupWith: presenterInstance);
register: (self buildAddingGroupWith: presenterInstance);
Expand Down

0 comments on commit 9d31d18

Please sign in to comment.