show default planes on empty scene (#3237)
* show default planes on empty sceen
* fmt
* remove log
* fix silly click listener bug
* delete old stuff
* test tweak
* Revert "test tweak"
This reverts commit e9cb4ac4b5
.
---------
Co-authored-by: Paul Tagliamonte <paul@zoo.dev>
This commit is contained in:
20
src/App.tsx
20
src/App.tsx
@ -95,16 +95,16 @@ export function App() {
|
||||
})
|
||||
|
||||
const newCmdId = uuidv4()
|
||||
if (context.store?.buttonDownInStream === undefined) {
|
||||
debounceSocketSend({
|
||||
type: 'modeling_cmd_req',
|
||||
cmd: {
|
||||
type: 'highlight_set_entity',
|
||||
selected_at_window: { x, y },
|
||||
},
|
||||
cmd_id: newCmdId,
|
||||
})
|
||||
}
|
||||
if (state.matches('idle.showPlanes')) return
|
||||
if (context.store?.buttonDownInStream !== undefined) return
|
||||
debounceSocketSend({
|
||||
type: 'modeling_cmd_req',
|
||||
cmd: {
|
||||
type: 'highlight_set_entity',
|
||||
selected_at_window: { x, y },
|
||||
},
|
||||
cmd_id: newCmdId,
|
||||
})
|
||||
}
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user