Update focus request to include active panel ID
This commit is contained in:
@@ -1262,6 +1262,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
|
|
||||||
setFocusRequest((current) => ({
|
setFocusRequest((current) => ({
|
||||||
id: current.id + 1,
|
id: current.id + 1,
|
||||||
|
panelId: activePanelId,
|
||||||
selection: editorState.selection
|
selection: editorState.selection
|
||||||
}));
|
}));
|
||||||
setStatusMessage(editorState.selection.kind === "none" ? "Framed the authored scene in the viewport." : "Framed the current selection.");
|
setStatusMessage(editorState.selection.kind === "none" ? "Framed the authored scene in the viewport." : "Framed the current selection.");
|
||||||
|
|||||||
Reference in New Issue
Block a user