Skip to content

Commit

Permalink
fix: ensure zoom is sent as part of quilt settings
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanChrisBrown committed Jun 12, 2024
1 parent af6e8fd commit 657c4d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/library/playlists/playlistItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class PlaylistItem {
rows: settings.rows,
cols: settings.columns,
focus: settings.focus ? settings.focus : 0,
zoom: settings.zoom ? settings.zoom : 1,
aspect: settings.aspect,
view_count: settings.viewCount,
isRGBD: 0,
Expand Down
2 changes: 1 addition & 1 deletion src/react-app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { PlaylistUI } from "./components/Playlist"

const quilt = new QuiltHologram({
uri: "https://s3.amazonaws.com/lkg-blocks/u/9aa4b54a7346471d/steampunk_qs8x13.jpg",
settings: { rows: 13, columns: 8, aspect: 0.75, viewCount: 8 * 13, tag: "steampunk" },
settings: { rows: 13, columns: 8, aspect: 0.75, viewCount: 8 * 13, tag: "steampunk", zoom: 1 },
})

const rgbd = new RGBDHologram({
Expand Down

0 comments on commit 657c4d6

Please sign in to comment.