typescript workaround
This commit is contained in:
parent
b114930400
commit
55b1e560a7
2 changed files with 2 additions and 3 deletions
|
|
@ -79,8 +79,7 @@ onMount(()=>{
|
||||||
twistfilter.offset = new PIXI.Point(window.innerWidth/2, window.innerHeight/3);
|
twistfilter.offset = new PIXI.Point(window.innerWidth/2, window.innerHeight/3);
|
||||||
twistfilter.resolution = 2;
|
twistfilter.resolution = 2;
|
||||||
|
|
||||||
|
bulgegroup.filters = [(bulgefilter as unknown as PIXI.Filter), (twistfilter as unknown as PIXI.Filter)];
|
||||||
bulgegroup.filters = [bulgefilter, twistfilter];
|
|
||||||
|
|
||||||
gsap.to(twistfilter, {
|
gsap.to(twistfilter, {
|
||||||
angle: -1.33,
|
angle: -1.33,
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
bulgefilter.strength = .66;
|
bulgefilter.strength = .66;
|
||||||
bulgefilter.center = new PIXI.Point(0.5, 0.5);
|
bulgefilter.center = new PIXI.Point(0.5, 0.5);
|
||||||
bulgefilter.resolution = 2;
|
bulgefilter.resolution = 2;
|
||||||
app.stage.filters = [bulgefilter];
|
app.stage.filters = [(bulgefilter as unknown as PIXI.Filter)];
|
||||||
|
|
||||||
let textgroupIn = gsap.to(textgroup, {
|
let textgroupIn = gsap.to(textgroup, {
|
||||||
y: is_landscape ? textRows[0][0].height * 0.4 : textRows[0][0].height * 0.15,
|
y: is_landscape ? textRows[0][0].height * 0.4 : textRows[0][0].height * 0.15,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue