The Inbox: MorphicExtras-kfr.275.mcz

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

The Inbox: MorphicExtras-kfr.275.mcz

commits-2
A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-kfr.275.mcz

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

Name: MorphicExtras-kfr.275
Author: kfr
Time: 10 June 2020, 6:41:33.727777 pm
UUID: 26fa97c9-e242-8048-8c7c-53b2061c19f4
Ancestors: MorphicExtras-mt.274

Detect if animated image (eg. gif) has transparent color and use opaque background if so.

=============== Diff against MorphicExtras-mt.274 ===============

Item was changed:
  ----- Method: AnimatedImageMorph>>fromReader: (in category 'private') -----
  fromReader: reader
-
  images := reader forms.
  delays := reader delays.
+ images do:[: each | (each colors includes: Color transparent) ifTrue:[self isOpaque: true]].
- self isOpaque: true.
  self reset.!