Make sure to never set the ghost property without considering the forceTransparentPreview property as well.

This commit is contained in:
Paul Kaplan 2018-12-04 12:34:24 -05:00
parent 2c6428dcdc
commit 5d0d82bc0a

View file

@ -163,7 +163,7 @@ class Video {
// if we haven't already created and started a preview frame render loop, do so
if (!this._renderPreviewFrame) {
renderer.updateDrawableProperties(this._drawable, {
ghost: this._ghost,
ghost: this._forceTransparentPreview ? 100 : this._ghost,
visible: true
});