[squeak-dev] The Trunk: Morphic-fn.1654.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Apr 30 13:27:40 UTC 2020


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]!



More information about the Squeak-dev mailing list