File tree Expand file tree Collapse file tree 7 files changed +0
-14
lines changed
Expand file tree Collapse file tree 7 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,7 @@ export default function CalicoSwirl({
6767 usage : GPUBufferUsage . UNIFORM | GPUBufferUsage . COPY_DST ,
6868 } ) ;
6969
70- // @ts -expect-error - canvas is a HTMLCanvasElement
7170 const width = context . canvas . width ?? 1 ;
72- // @ts -expect-error - canvas is a HTMLCanvasElement
7371 const height = context . canvas . height ?? 1 ;
7472 const aspect = width / height ;
7573
Original file line number Diff line number Diff line change @@ -87,9 +87,7 @@ export default function Campfire({
8787 usage : GPUBufferUsage . UNIFORM | GPUBufferUsage . COPY_DST ,
8888 } ) ;
8989
90- // @ts -expect-error - canvas is a HTMLCanvasElement
9190 const width = context . canvas . width ?? 1 ;
92- // @ts -expect-error - canvas is a HTMLCanvasElement
9391 const height = context . canvas . height ?? 1 ;
9492 const aspect = width / height ;
9593
Original file line number Diff line number Diff line change @@ -90,9 +90,7 @@ export default function Desert({
9090 usage : GPUBufferUsage . UNIFORM | GPUBufferUsage . COPY_DST ,
9191 } ) ;
9292
93- // @ts -expect-error - canvas is a HTMLCanvasElement
9493 const width = context . canvas . width ?? 1 ;
95- // @ts -expect-error - canvas is a HTMLCanvasElement
9694 const height = context . canvas . height ?? 1 ;
9795 const aspect = width / height ;
9896
Original file line number Diff line number Diff line change @@ -59,9 +59,7 @@ export default function Iridescence({
5959 usage : GPUBufferUsage . UNIFORM | GPUBufferUsage . COPY_DST ,
6060 } ) ;
6161
62- // @ts -expect-error - canvas is a HTMLCanvasElement
6362 const width = context . canvas . width ?? 1 ;
64- // @ts -expect-error - canvas is a HTMLCanvasElement
6563 const height = context . canvas . height ?? 1 ;
6664 const aspect = width / height ;
6765
Original file line number Diff line number Diff line change @@ -71,9 +71,7 @@ export default function LinearGradient({
7171 const startColorRGBA = colorToVec4 ( animatedStartColor . get ( ) ) ;
7272 const endColorRGBA = colorToVec4 ( animatedEndColor . get ( ) ) ;
7373
74- // @ts -expect-error - canvas is a HTMLCanvasElement
7574 const width = context . canvas . width ?? 1 ;
76- // @ts -expect-error - canvas is a HTMLCanvasElement
7775 const height = context . canvas . height ?? 1 ;
7876 const aspect = width / height ;
7977
Original file line number Diff line number Diff line change @@ -89,9 +89,7 @@ export default function LiquidChrome({
8989 usage : GPUBufferUsage . UNIFORM | GPUBufferUsage . COPY_DST ,
9090 } ) ;
9191
92- // @ts -expect-error - canvas is a HTMLCanvasElement
9392 const width = context . canvas . width ?? 1 ;
94- // @ts -expect-error - canvas is a HTMLCanvasElement
9593 const height = context . canvas . height ?? 1 ;
9694 const aspect = width / height ;
9795
Original file line number Diff line number Diff line change @@ -87,9 +87,7 @@ export default function Silk({
8787 usage : GPUBufferUsage . UNIFORM | GPUBufferUsage . COPY_DST ,
8888 } ) ;
8989
90- // @ts -expect-error - canvas is a HTMLCanvasElement
9190 const width = context . canvas . width ?? 1 ;
92- // @ts -expect-error - canvas is a HTMLCanvasElement
9391 const height = context . canvas . height ?? 1 ;
9492 const aspect = width / height ;
9593
You can’t perform that action at this time.
0 commit comments