roavatar-renderer 1.3.3 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41942,18 +41942,21 @@ class HSRDesc {
|
|
|
41942
41942
|
if (this.layers.length !== other.layers.length) return false;
|
|
41943
41943
|
if (this.layerTransparent.length !== other.layerTransparent.length) return false;
|
|
41944
41944
|
for (const layer of this.layers) {
|
|
41945
|
-
|
|
41946
|
-
|
|
41947
|
-
|
|
41948
|
-
|
|
41949
|
-
|
|
41950
|
-
|
|
41951
|
-
|
|
41952
|
-
|
|
41953
|
-
break layerLoop;
|
|
41945
|
+
let foundLayer = false;
|
|
41946
|
+
const selfIndex = this.layers.indexOf(layer);
|
|
41947
|
+
for (const otherLayer of other.layers) {
|
|
41948
|
+
const otherIndex = other.layers.indexOf(otherLayer);
|
|
41949
|
+
if (layer.isSame(otherLayer)) {
|
|
41950
|
+
foundLayer = true;
|
|
41951
|
+
if (this.layerTransparent[selfIndex] !== other.layerTransparent[otherIndex]) {
|
|
41952
|
+
return false;
|
|
41954
41953
|
}
|
|
41954
|
+
break;
|
|
41955
41955
|
}
|
|
41956
41956
|
}
|
|
41957
|
+
if (!foundLayer) {
|
|
41958
|
+
return false;
|
|
41959
|
+
}
|
|
41957
41960
|
}
|
|
41958
41961
|
}
|
|
41959
41962
|
return true;
|
|
@@ -49129,6 +49132,7 @@ class RBXRenderer {
|
|
|
49129
49132
|
RBXRenderer.loadingIcon.style.width = "24px";
|
|
49130
49133
|
RBXRenderer.loadingIcon.style.height = "24px";
|
|
49131
49134
|
RBXRenderer.loadingIcon.style.transition = "0.1s";
|
|
49135
|
+
RBXRenderer.loadingIcon.style.transitionProperty = "opacity";
|
|
49132
49136
|
RBXRenderer.loadingIconStyle = document.createElement("style");
|
|
49133
49137
|
RBXRenderer.loadingIconStyle.textContent = `
|
|
49134
49138
|
/*Loader source: https://cssloaders.github.io/ */
|