Skip to content

Commit

Permalink
Add logo to world menu entry
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Jan 7, 2019
1 parent 2bd203c commit 6cf020c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Material-Design-Lite-Core/MaterialDesignLite.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@ Class {
{ #category : #'world-menu' }
MaterialDesignLite class >> mainMenuCommandOn: aBuilder [
<worldMenu>
(aBuilder item: #MaterialDesignLite) order: 20
(aBuilder item: #MaterialDesignLite)
order: 20;
icon: (self mdlIcon scaledToSize: 16@16)
]

{ #category : #'as yet unclassified' }
MaterialDesignLite class >> mdlIcon [
^ PNGReadWriter formFromStream: MDLLibrary default logoPng readStream
]
Loading

0 comments on commit 6cf020c

Please sign in to comment.