Fixed DropShadowFilter.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user