openearth / painting

Painting in numerical models
GNU General Public License v3.0
5 stars 1 forks source link

Painting is broken #8

Closed gena closed 7 years ago

SiggyF commented 7 years ago

The el that is passed during creation of the drawing is recreated since the upgrade to vue 2.0. http://vuejs.org/v2/api/#el

This gives issues in these constructs in the code:

In the current setup construction of the map creates layers, layers create canvas objects. The Vue instances that are generated dynamically replace the canvas objects.

SiggyF commented 7 years ago

And pointer-event is set to none for images. Which does not help.

SiggyF commented 7 years ago

Fixed in 6ff1bd