[Pkg] The Trunk: MorphicExtras-eem.322.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Jul 13 23:43:23 UTC 2022
Eliot Miranda uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-eem.322.mcz
==================== Summary ====================
Name: MorphicExtras-eem.322
Author: eem
Time: 13 July 2022, 4:43:20.802912 pm
UUID: 69a2e55e-f910-4b9d-94c4-4823da5ed28b
Ancestors: MorphicExtras-eem.321
Much nicer display of the WebCamMorph when it is off; Transparent light grey rather than invisible.
=============== Diff against MorphicExtras-eem.321 ===============
Item was changed:
----- Method: WebCamMorph>>drawOn: (in category 'drawing') -----
drawOn: aCanvas
camIsOn ifFalse:
[| turnOn |
turnOn := displayForm isNil.
self initializeDisplayForm.
turnOn ifTrue: [self on]].
camIsOn ifTrue:
[(CameraInterface frameExtent: camNum) ~= displayForm extent ifTrue:
[self initializeDisplayForm]].
displayForm ifNil:
[self initializeDisplayForm].
useFrameSize ifTrue: [self extent: frameExtent].
+ camIsOn
+ ifTrue: [self drawCameraImageOn: aCanvas]
+ ifFalse: [aCanvas fillRectangle: bounds fillStyle: ((Color gray: 0.6) alpha: 0.8)].
- self drawCameraImageOn: aCanvas.
self drawFPSOn: aCanvas.
self drawOverlayTextOn: aCanvas!
More information about the Packages
mailing list