From 657c4d6b765713717e8a01fe638fa22bc73d3362 Mon Sep 17 00:00:00 2001 From: Bryan Brown Date: Wed, 12 Jun 2024 18:26:33 -0400 Subject: [PATCH] fix: ensure zoom is sent as part of quilt settings --- src/library/playlists/playlistItems.ts | 1 + src/react-app/App.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/library/playlists/playlistItems.ts b/src/library/playlists/playlistItems.ts index 646aca3..8ef5589 100644 --- a/src/library/playlists/playlistItems.ts +++ b/src/library/playlists/playlistItems.ts @@ -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, diff --git a/src/react-app/App.tsx b/src/react-app/App.tsx index 27bea8e..0a30b81 100644 --- a/src/react-app/App.tsx +++ b/src/react-app/App.tsx @@ -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({