diff --git a/.version b/.version index f4fa8fc..8ac28bf 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -4.6.1 \ No newline at end of file +4.6.1 diff --git a/package-lock.json b/package-lock.json index 4205f06..be8645d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3247,6 +3247,20 @@ "node": ">=12" } }, + "node_modules/dts-bundle-generator/node_modules/typescript": { + "version": "5.2.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/dts-bundle-generator/node_modules/yargs": { "version": "17.7.2", "resolved": "https://nexus3.linkurious.net/repository/npm/yargs/-/yargs-17.7.2.tgz", @@ -11379,6 +11393,12 @@ "wrap-ansi": "^7.0.0" } }, + "typescript": { + "version": "5.2.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "dev": true + }, "yargs": { "version": "17.7.2", "resolved": "https://nexus3.linkurious.net/repository/npm/yargs/-/yargs-17.7.2.tgz", diff --git a/package.json b/package.json index 85ae495..a45f749 100644 --- a/package.json +++ b/package.json @@ -92,4 +92,4 @@ "dependencies": { "lodash.throttle": "^4.1.1" } -} \ No newline at end of file +} diff --git a/src/overlay/canvas.tsx b/src/overlay/canvas.tsx index 48f3150..6b90aad 100644 --- a/src/overlay/canvas.tsx +++ b/src/overlay/canvas.tsx @@ -29,7 +29,7 @@ const CanvasLayerComponent = ( index, visible, }: CanvasLayerProps, - ref?: Ref + ref?: Ref, ) => { const ogma = useOgma(); const [layer, setLayer] = useState(null); @@ -40,7 +40,7 @@ const CanvasLayerComponent = ( const newLayer = ogma.layers.addCanvasLayer( render, { isStatic, noClear }, - index + index, ); setLayer(newLayer);