Merge pull request #1174 from lieren2023/lieren2023-patch-12

补充双性剪影原画(自绘),代码修改
This commit is contained in:
Spmario233 2024-04-09 18:58:43 +08:00 committed by GitHub
commit abd940661d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -199,8 +199,7 @@ Reflect.defineProperty(HTMLDivElement.prototype, 'setBackground', {
const sex = nameinfo ? nameinfo[0] : 'male';
this.setBackgroundImage([
src,
`${lib.characterDefaultPicturePath}${sex}${ext}`,
`${lib.characterDefaultPicturePath}male${ext}`
`${lib.characterDefaultPicturePath}${sex}${ext}`
]);
} else {
this.setBackgroundImage(src);