File tree Expand file tree Collapse file tree 5 files changed +4
-5
lines changed
Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import { useContextMenu } from "@components/contextmenu/ContextMenu.ts" ;
22import { makeSection , Sections , makeSingle } from "@components/contextmenu/ContextMenu.ts" ;
3- import { FC , memo , ReactNode } from "react" ;
3+ import { memo } from "react" ;
44import { createId } from "../../common/uuid.ts" ;
55import { ErrorBoundary } from "../error/ErrorBoundary.tsx" ;
66import { Translate } from "../translate/Translate.tsx" ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { WebGLLayer } from "./webgl/WebGLLayer.tsx";
1717import { useContextMenu } from "@components/contextmenu/ContextMenu.ts" ;
1818import { makeSection , Sections , makeSingle } from "@components/contextmenu/ContextMenu.ts" ;
1919import { viewportToMap } from "./mapping.ts" ;
20- import { useDispatchSelection , useEditorSelection } from "@components/editor/selection.ts" ;
20+ import { useDispatchSelection } from "@components/editor/selection.ts" ;
2121import { clickbox , zIndex } from "./objectProperties.ts" ;
2222import { sortBy } from "@common/array.ts" ;
2323import { ActiveSelection } from "./ActiveSelection.tsx" ;
Original file line number Diff line number Diff line change 11import { toClassName } from "@components/utils.tsx" ;
22import { ViewportLayerFC } from "../Viewport.tsx" ;
3- import { mapToViewportCenter } from "../mapping.ts" ;
43import css from "./text.module.css" ;
54
65export const TextLayer : ViewportLayerFC = ( { viewportInfo } ) => {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type WebGLValueType = {
77 type : WebGL2RenderingContext [ "BYTE" | "SHORT" | "UNSIGNED_BYTE" | "UNSIGNED_SHORT" | "FLOAT" | "INT" ] ;
88} ;
99const GL_FLOAT = 5126 ;
10- const GL_INT = 5124 ;
10+ // const GL_INT = 5124;
1111
1212export abstract class WebGlRenderer < T extends unknown [ ] > {
1313 info ?: {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export function useElementSize(ref: RefObject<HTMLElement | null>) {
99 if ( ! el ) {
1010 return ;
1111 }
12- const handleWindowResize = ( e : UIEvent | ResizeObserverEntry [ ] ) => {
12+ const handleWindowResize = ( _ : UIEvent | ResizeObserverEntry [ ] ) => {
1313 const newSize = vec2 (
1414 el . offsetWidth ,
1515 el . offsetHeight ,
You can’t perform that action at this time.
0 commit comments