mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-29 13:34:32 +08:00
修复图片加载bug
This commit is contained in:
1 parent
3bdb668c5f
commit
c25f0d7c15
7 files changed
+39
-9
No files matched your search
@@ -115,6 +115,10 @@ export class Resource<
|
||||
);
|
||||
});
|
||||
});
|
||||
} else if (this.format === 'image') {
|
||||
const img = v as HTMLImageElement;
|
||||
img.setAttribute('_width', img.width.toString());
|
||||
img.setAttribute('_height', img.height.toString());
|
||||
}
|
||||
|
||||
if (this.name === '__all_animates__') {
|
||||
|
||||
Reference in new issue
Block a user