The Trunk: Morphic-fn.1654.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-fn.1654.mcz

commits-2
Fabio Niephaus uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-fn.1654.mcz

==================== Summary ====================

Name: Morphic-fn.1654
Author: fn
Time: 30 April 2020, 3:27:32.337614 pm
UUID: 7c5e8137-2bf8-4480-8713-905cd3640a4d
Ancestors: Morphic-mt.1653

Inject `style` variable via #ifNotNil:.

=============== Diff against Morphic-mt.1653 ===============

Item was changed:
  ----- Method: ImageMorph>>drawOn: (in category 'drawing') -----
  drawOn: aCanvas
+ self borderStyle ifNotNil:[:style |
- | style |
- (style := self borderStyle) ifNotNil:[
  style frameRectangle: bounds on: aCanvas.
  ].
  self isOpaque
  ifTrue:[aCanvas drawImage: image at: self innerBounds origin]
  ifFalse:[aCanvas translucentImage: image at: self innerBounds origin]!