Skip to content

Instantly share code, notes, and snippets.

Avatar

Bhupendra imbhupendra41

View GitHub Profile
View fabricMOdule.js
// Reset Zoom
self.resetZoom = function() {
var objects = canvas.getObjects();
for (var i in objects) {
var scaleX = objects[i].scaleX;
var scaleY = objects[i].scaleY;
var left = objects[i].left;
var top = objects[i].top;