Skip to content

Commit

Permalink
fix: 🚑 2.5.2
Browse files Browse the repository at this point in the history
Fix dpr in canvas so that large monitor are displaying the background nicely.
  • Loading branch information
msanguineti committed Oct 9, 2024
1 parent 782891e commit 4382dbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hypercliq-website",
"version": "2.5.1",
"version": "2.5.2",
"private": true,
"engines": {
"node": ">=20.0.0 <22.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/Connections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ const isWebGLAvailable = (): boolean => {

const Connections: React.FC<{ style?: CSSProperties }> = ({ style }) => {
return isWebGLAvailable() ? (
<Canvas style={style} camera={{ position: [0, 0, 5] }} dpr={[1, 2]}>
<Canvas style={style} camera={{ position: [0, 0, 5] }} dpr={[1, 1]}>
<PerformanceMonitor>
<Graph />
</PerformanceMonitor>
Expand Down

0 comments on commit 4382dbc

Please sign in to comment.