-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HitContext doesn't have _applyShadow function. #620
Comments
the hit context should not render shadows. This is by design. Can you be more specific as to how you are getting an error? can you copy and paste the exact error you're getting? |
My shape has shadow. Here is my code: layer.setClip([x, y, width, height]);
|
clipping works correctly in v4.7.2 as far as I can tell. can you create a jsfiddle that demonstrates the problem? I suspect that there's something in your code causing the issue. |
never mind, I was able to replicate the issue. Clipping isn't working correctly when the container has shapes with shadows. I'll get this fixed up by the next release. Thanks! |
Hey, any progress on this? Or workarounds? |
I get a JS error "Object doesn't support property or method '_applyShadow'" in IE & Chrome Win 8.1 in v4.7.4.js at line 5778 context.applyShadow(this); |
I tested with latest KineticJS version. Works as expected: http://jsbin.com/dixup/1/edit |
It caused an error in drawHint -> .... -> shap.drawScen, when I set a clip on a layer then called layer.draw().
The text was updated successfully, but these errors were encountered: