mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: canvas smooth resize
This commit is contained in:
1 parent
1226ce89a7
commit
5c30169eca
1 file changed
+1
+1
@@ -150,6 +150,7 @@ export const TankSandbox = forwardRef<HTMLCanvasElement, TankSandboxProps>(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SmartCanvas
|
<SmartCanvas
|
||||||
|
resize={{ debounce: 0 }}
|
||||||
ref={canvas}
|
ref={canvas}
|
||||||
scene={{ fog: new Fog("black", 30, 50) }}
|
scene={{ fog: new Fog("black", 30, 50) }}
|
||||||
gl={{
|
gl={{
|
||||||
|
|||||||
Reference in new issue
Block a user