Readonly defaults to the hand tool (#2833)
#2720 This PR makes it so that the editor defaults to the hand tool in read only mode ### Change Type - [x] `minor` — New feature ### Test Plan 1. Open the editor in readonly mode 2. It should default to the hand tool ### Release Notes - Shared projects in read only mode now default to the hand tool
This commit is contained in:
parent
f9f5c6afcb
commit
7caaa2fbbb
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ export function MultiplayerEditor({
|
||||||
store={storeWithStatus}
|
store={storeWithStatus}
|
||||||
assetUrls={assetUrls}
|
assetUrls={assetUrls}
|
||||||
onMount={handleMount}
|
onMount={handleMount}
|
||||||
|
initialState={isReadOnly ? 'hand' : 'select'}
|
||||||
overrides={[
|
overrides={[
|
||||||
sharingUiOverrides,
|
sharingUiOverrides,
|
||||||
fileSystemUiOverrides,
|
fileSystemUiOverrides,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue