mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Added progress bar for GIF rendering
This commit is contained in:
@@ -24,6 +24,16 @@
|
||||
}
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
getParentWithData : function (node, data) {
|
||||
while (node) {
|
||||
if (node.dataset && typeof node.dataset[data] !== 'undefined') {
|
||||
return node;
|
||||
}
|
||||
node = node.parentNode;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
};
|
||||
})();
|
||||
Reference in New Issue
Block a user