mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-31 11:12:35 +01:00
Fix camera effect
This commit is contained in:
parent
6b7749998c
commit
a567a812e9
@ -72,7 +72,7 @@ export class RoomCameraWidgetManager implements IRoomCameraWidgetManager
|
|||||||
filter.matrix = effect.colorMatrix;
|
filter.matrix = effect.colorMatrix;
|
||||||
filter.alpha = selectedEffect.alpha;
|
filter.alpha = selectedEffect.alpha;
|
||||||
|
|
||||||
if(!sprite.filters) sprite.filters = [ filter ];
|
if(!sprite.filters) sprite.filters = [];
|
||||||
|
|
||||||
sprite.filters.push(filter);
|
sprite.filters.push(filter);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user