Fixed: Removed unused style attributes

This commit is contained in:
Richard Benjamin Allen 2024-09-18 00:16:41 +01:00
parent c0eae951c6
commit 4d4ccb99ba

View File

@ -283,11 +283,9 @@
style.left = position.x + "px"; style.left = position.x + "px";
style.top = position.y + "px"; style.top = position.y + "px";
if (this.width !== null) { if (this.width !== null) {
style.width = size.x + "px";
innerStyle.width = size.x + "px"; innerStyle.width = size.x + "px";
} }
if (this.height !== null) { if (this.height !== null) {
style.height = size.y + "px";
innerStyle.height = size.y + "px"; innerStyle.height = size.y + "px";
} }
var transformOriginProp = $.getCssPropertyWithVendorPrefix( var transformOriginProp = $.getCssPropertyWithVendorPrefix(