From 94188fc07557ac285b4028479ed88921246ff022 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Mon, 14 Oct 2019 12:02:44 -0400 Subject: [PATCH] Fix tests by more carefully checking for the skin --- src/io/video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/video.js b/src/io/video.js index faef56cd2..f037b0f9c 100644 --- a/src/io/video.js +++ b/src/io/video.js @@ -135,7 +135,7 @@ class Video { } _disablePreview () { - if (this._skinId) { + if (this._skinId !== -1) { this.runtime.renderer.updateBitmapSkin(this._skinId, new ImageData(...Video.DIMENSIONS), 1); this.runtime.renderer.updateDrawableProperties(this._drawable, {visible: false}); }