Adjusted how styles work. Made signature canvas bigger.
This commit is contained in:
@@ -66,7 +66,7 @@ const DraggableUtils = {
|
||||
createdCanvas.classList.add("draggable-canvas");
|
||||
|
||||
const x = 0;
|
||||
const y = 0;
|
||||
const y = 20;
|
||||
createdCanvas.style.transform = `translate(${x}px, ${y}px)`;
|
||||
createdCanvas.setAttribute('data-x', x);
|
||||
createdCanvas.setAttribute('data-y', y);
|
||||
|
||||
Reference in New Issue
Block a user