25-8-9
This commit is contained in:
@ -766,6 +766,8 @@ class BillboardObject extends Base {
|
||||
_this._frameImages = []
|
||||
superGif.load(function (status) {
|
||||
if (status == 404) {
|
||||
let width = 31
|
||||
let height = 36
|
||||
canvas = document.createElement('canvas')
|
||||
canvas.width = 0
|
||||
canvas.height = 0
|
||||
@ -855,6 +857,8 @@ class BillboardObject extends Base {
|
||||
billboardH = height * (31 / width)
|
||||
}
|
||||
image.onerror = function (err) {
|
||||
let width = 31
|
||||
let height = 36
|
||||
canvas.width = 0
|
||||
canvas.height = 0
|
||||
billboardH = 0
|
||||
|
Reference in New Issue
Block a user