I have a small project where I want to draw on a canvas using DrawingCanvas from C3. Everything works correctly until here.
I added 2 buttons, one for zoom in (scale up the layer at 1.5) and one for zoom out (scale down at 1).
The problem is that when I scale up/down, whatever I draw until then will be erased. The same happened on mobile if I will switch from the portrait to landscape.
Anybody had this problem? How can I solve it?