Skip to content

How to mix draggable with non draggable images

Daniel Cukier edited this page Jun 2, 2014 · 1 revision

Draggable drawings in jCanvas are automatically converted to jCanvas layers. Therefore, because jCanvas only keeps track of jCanvas layers when it needs to redraw the canvas, your non-layers will disappear.

The fix? Simply set layer: true for all of your jCanvas drawings (draggable and non-draggable, alike, just because it's good practice).

Clone this wiki locally