ehoefig / KineticGWT

A GWT wrapper for kinetic.js
11 stars 2 forks source link

Node.setName not working with kinetic-v4.3.1 #28

Open ArtemGr opened 11 years ago

ArtemGr commented 11 years ago

KineticGWT's way of setting the name via getAttrs no longer works with newer KineticJS!

Workaround:

protected static native void setName (final Node node, final String name) /*-{
  node.setName (name)
}-*/;