Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 606db23

Browse files
author
takuma-hmng8
committed
v1.1.35
1 parent 7fdf9b1 commit 606db23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎packages/use-shader-fx/src/utils/useResolution.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as THREE from "three";
22
import { useMemo } from "react";
33
import { Size } from "@react-three/fiber";
44

5-
/**0
5+
/**
66
* @params dpr if dpr is set, it returns the resolution which is size multiplied by dpr.
77
*/
88
export const useResolution = (size: Size, dpr: number | false = false) => {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /