Fixed DropShadowFilter.

This commit is contained in:
2019-09-20 09:54:32 +02:00
parent b09eb63785
commit 9dac52c0e4
72 changed files with 358 additions and 279 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ export class DeepZoomImage extends PIXI.Container {
let [w, h] = this.baseSize
if (this.shadow) {
this.filters = [new PIXI.filters.DropShadowFilter(45, 3)]
this.filters = [new PIXI.filters.DropShadowFilter({ rotation: 45, distance: 3 })]
}
this.addChild(this.tileContainer)