File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8484 "@dreamworld/addon-redux" : " 1.1.0" ,
8585 "autoprefixer" : " 10.4.14" ,
8686 "bun-types" : " 1.0.21" ,
87- "esbuild" : " 0.19.12 " ,
87+ "esbuild" : " 0.20.1 " ,
8888 "eslint" : " 8.49.0" ,
8989 "eslint-plugin-mdx" : " 2.1.0" ,
9090 "eslint-plugin-react" : " 7.33.2" ,
9595 "prettier" : " 2.8.8" ,
9696 "storybook" : " 7.3.2" ,
9797 "storybook-addon-react-router-v6" : " 1.0.2" ,
98- "tailwindcss" : " 3.3.2 " ,
98+ "tailwindcss" : " 3.4.1 " ,
9999 "tailwindcss-animate" : " 1.0.6" ,
100100 "vite" : " 4.3.9"
101101 },
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ export const Crosshairs = ({ render }) => {
3131
3232 const workspace = document . getElementById ( ids . workspace ) ?. getBoundingClientRect ( ) ;
3333
34- const x1 = x - workspace . left ?? 0 ;
35- const y1 = y - workspace . top ?? 0 ;
34+ const x1 = x - workspace ? .left || 0 ;
35+ const y1 = y - workspace ? .top || 0 ;
3636
3737 if ( x1 < 0 || y1 < 0 ) return null ;
3838
You can’t perform that action at this time.
0 commit comments