[etoys-dev] Etoys: MorphicExtras-kfr.48.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Oct 17 18:23:30 EDT 2011


Karl Ramberg uploaded a new version of MorphicExtras to project Etoys:
http://source.squeak.org/etoys/MorphicExtras-kfr.48.mcz

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

Name: MorphicExtras-kfr.48
Author: kfr
Time: 18 October 2011, 12:22:58 am
UUID: 22a07fd4-6708-5d4a-bf67-55f55b6ac489
Ancestors: MorphicExtras-kfr.47

Just scale the form we have

=============== Diff against MorphicExtras-kfr.47 ===============

Item was changed:
  ----- Method: WebCamMorph>>setWebCamResolution: (in category 'e-toy - settings') -----
  setWebCamResolution: aSymbol
  	| wasOn |
  
  	((WebCamResolution resolutions) includes: aSymbol) ifFalse: [^ self].
  	resolution := aSymbol.
  
  	(wasOn := camIsOn) ifTrue: [self off].
  	frameExtent := self class resolutionFor: aSymbol.
+ 	displayForm := displayForm scaledToSize: frameExtent.
- 	displayForm := Form extent: frameExtent depth: 32.
  	self updateDisplay.
       wasOn ifTrue: [self on].
  			
  
  !



More information about the etoys-dev mailing list