perf(editor): 优化播放头拖动性能

This commit is contained in:
2026-09-21 00:04:25 +08:00
parent 5cc2e26a29
commit 07d9e5e798
7 changed files with 141 additions and 56 deletions

View File

@@ -20,7 +20,7 @@ beforeEach(() => {
it("renders the director desk header and view mode switch", () => {
const { container } = render(<App />);
expect(screen.getByText("3D导演台")).toBeInTheDocument();
expect(screen.queryByText("3D导演台")).not.toBeInTheDocument();
expect(screen.getByRole("button", { name: "导演视角" })).toBeInTheDocument();
expect(screen.getByRole("button", { name: "机位视角" })).toBeInTheDocument();
expect(container.querySelector(".top-bar-center .mode-toggle")).toBeInTheDocument();