Implement selection change handling in ViewportHost, triggering refresh of paths, markers, and model instances, and update related integration tests.
This commit is contained in:
@@ -20,6 +20,7 @@ const { MockViewportHost, viewportHostInstances } = vi.hoisted(() => {
|
||||
updateSimulation: ReturnType<typeof vi.fn>;
|
||||
updateAssets: ReturnType<typeof vi.fn>;
|
||||
updateDocument: ReturnType<typeof vi.fn>;
|
||||
updateSelection: ReturnType<typeof vi.fn>;
|
||||
setPanelId: ReturnType<typeof vi.fn>;
|
||||
setRenderEnabled: ReturnType<typeof vi.fn>;
|
||||
setViewMode: ReturnType<typeof vi.fn>;
|
||||
@@ -50,6 +51,7 @@ const { MockViewportHost, viewportHostInstances } = vi.hoisted(() => {
|
||||
updateSimulation = vi.fn();
|
||||
updateAssets = vi.fn();
|
||||
updateDocument = vi.fn();
|
||||
updateSelection = vi.fn();
|
||||
setPanelId = vi.fn((panelId: string) => {
|
||||
this.panelId = panelId;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user