[squeak-dev] The Trunk: Morphic-mt.913.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 21 15:41:09 UTC 2015


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.913.mcz

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

Name: Morphic-mt.913
Author: mt
Time: 21 April 2015, 5:40:21.359 pm
UUID: 63d97c5f-77da-d14f-b59f-90b34885524c
Ancestors: Morphic-mt.912

QuickFix to make non-3d menu separator not so big. (Needs refactoring.)

=============== Diff against Morphic-mt.912 ===============

Item was changed:
  ----- Method: MenuLineMorph>>drawOn: (in category 'drawing') -----
  drawOn: aCanvas 
  	| baseColor |
  	baseColor := Preferences menuColorFromWorld
  				ifTrue: [owner color twiceDarker]
  				ifFalse: [Preferences menuAppearance3d
  						ifTrue: [owner color]
  						ifFalse: [MenuMorph menuLineColor]].
  	Preferences menuAppearance3d
  		ifTrue: [
  			aCanvas
  				fillRectangle: (bounds topLeft corner: bounds rightCenter)
  				color: baseColor twiceDarker.
  			
  			aCanvas
  				fillRectangle: (bounds leftCenter corner: bounds bottomRight)
  				color: baseColor twiceLighter]
  		ifFalse: [
  			aCanvas
+ 				fillRectangle: ((bounds topLeft corner: bounds bottomRight) insetBy: (0 at 0 corner: 0@ 1))
- 				fillRectangle: (bounds topLeft corner: bounds bottomRight)
  				color: baseColor]!



More information about the Squeak-dev mailing list