katetem / cakejs

Automatically exported from code.google.com/p/cakejs
0 stars 0 forks source link

Image in ImageNode is filled over by parent items fill #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use ImageNode.Load to create an ImageNode
2. Append node to another CanvasNode that has a fill

What is the expected output?
The image to be rendered where placed

What do you see instead?
ImageNode current derives from Drawable. It picks up the fill from the 
CanvasNode it is inside and ends up filling over the image, despite the fill 
being set to null on the ImageNode.

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.

Original issue reported on code.google.com by stev...@ischyrus.com on 14 Jun 2011 at 3:47

GoogleCodeExporter commented 9 years ago
I worked around the issue by changing ImageNode to be a CanvasNode rather than 
a Drawable. Seems reasonable for me as I'm not using the pattern feature.

Original comment by stev...@ischyrus.com on 14 Jun 2011 at 3:48