fix: keep CAD stream aligned with viewport
This commit is contained in:
parent
a9390f0abc
commit
8e88f02214
@ -220,6 +220,11 @@ function patchOfficialSource() {
|
|||||||
" new URL(env().VITE_MLEPHANT_WEBSOCKET_URL ?? '')",
|
" new URL(env().VITE_MLEPHANT_WEBSOCKET_URL ?? '')",
|
||||||
" new URL(env().VITE_MLEPHANT_WEBSOCKET_URL ?? '', window.location.href)"
|
" new URL(env().VITE_MLEPHANT_WEBSOCKET_URL ?? '', window.location.href)"
|
||||||
);
|
);
|
||||||
|
replaceSource(
|
||||||
|
"src/components/ConnectionStream.tsx",
|
||||||
|
` className="cursor-pointer"\n id="freeze-frame"`,
|
||||||
|
` className="absolute inset-0 h-full w-full cursor-pointer"\n id="freeze-frame"`
|
||||||
|
);
|
||||||
replaceSource(
|
replaceSource(
|
||||||
"src/index.tsx",
|
"src/index.tsx",
|
||||||
"import { markOnce } from '@src/lib/performance'\n",
|
"import { markOnce } from '@src/lib/performance'\n",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user