[General] Feedback: Morphs Need setOpacity method

Philip Weaver philmaker at gmail.com
Wed Feb 25 23:15:29 CET 2009


That was pretty simple to hack. But Lively still may need
morph.setOpacity().
ImageMorph.subclass("enhanced.ImageMorph", {
 initialize: function($super, rectangle, imagePath) {
         $super(rectangle, imagePath);

this.rawNode.style.setProperty('opacity', '0.2');
this.setFillOpacity(0.0);
}
});
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://livelykernel.sunlabs.com/pipermail/general/attachments/20090225/7bf2f243/attachment.html 




More information about the lively-kernel mailing list