mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
Make sure to never set the ghost property without considering the forceTransparentPreview property as well.
This commit is contained in:
parent
2c6428dcdc
commit
5d0d82bc0a
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class Video {
|
||||||
// if we haven't already created and started a preview frame render loop, do so
|
// if we haven't already created and started a preview frame render loop, do so
|
||||||
if (!this._renderPreviewFrame) {
|
if (!this._renderPreviewFrame) {
|
||||||
renderer.updateDrawableProperties(this._drawable, {
|
renderer.updateDrawableProperties(this._drawable, {
|
||||||
ghost: this._ghost,
|
ghost: this._forceTransparentPreview ? 100 : this._ghost,
|
||||||
visible: true
|
visible: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue