There was an error while loading. Please reload this page.
1 parent 0dd7397 commit ce87af4Copy full SHA for ce87af4
2 files changed
browser/src/App.tsx
@@ -186,6 +186,9 @@ const App = () => {
186
id="video"
187
className={clsx(videoRotate === 0 ? [videoStyle, "min-h-[480px] min-w-[640px]"] : "hidden")}
188
ref={videoRef}
189
+ style={{
190
+ transform: `scale(${videoScale})`,
191
+ }}
192
autoPlay
193
playsInline
194
onLoadedMetadata={setCanvas}
desktop/src/renderer/src/App.tsx
@@ -199,6 +199,9 @@ const App = (): ReactElement => {
199
200
className={clsx(videoRotate === 0 ? [videoStyle, 'min-h-[480px] min-w-[640px]'] : 'hidden')}
201
202
203
+ transform: `scale(${videoScale})`
204
205
206
207
0 commit comments