store ghost state so previews will use last value whenever setup

This commit is contained in:
Corey Frang 2018-04-05 15:46:59 -04:00 committed by Michael "Z" Goddard
parent d0a71dcaf9
commit 89dd4720a4
No known key found for this signature in database
GPG key ID: 762CD40DD5349872

View file

@ -56,6 +56,12 @@ class Video {
* @type {Drawable} * @type {Drawable}
*/ */
this._drawable = -1; this._drawable = -1;
/**
* Store the last state of the video transparency ghost effect
* @type {number}
*/
this._ghost = 0;
} }
static get FORMAT_IMAGE_DATA () { static get FORMAT_IMAGE_DATA () {