janniklaval / phratch

Phratch is based on Scratch with more features
Other
22 stars 10 forks source link

Costume is nontransparent when dragged #213

Closed hilaire closed 7 years ago

hilaire commented 7 years ago

In Scratch when a costume is dragged, it keeps its transparency area. It is not the case in Pratch. transparency

hilaire commented 7 years ago

HandMorph>>fullDrawOn:

was changed between P4 and P5.

End of method was like this in P4:

"draw morphs in front of the shadow using the cached Form"
cachedCanvasHasHoles 
    ifTrue: [aCanvas paintImage: cacheCanvas form at: subBnds origin]
    ifFalse:    [
        aCanvas translucentImage: cacheCanvas form at: subBnds origin.
    ].
self drawOn: aCanvas    "draw the hand itself in front of morphs"
hilaire commented 7 years ago

The changes above in P5 is just fine. In #470