fix inscreen button
This commit is contained in:
parent
52755fc18f
commit
b32bab8211
1 changed files with 5 additions and 2 deletions
|
|
@ -110,9 +110,12 @@ export const guiOptionsScheme: {
|
|||
custom () {
|
||||
const { _renderByChunks } = useSnapshot(options).rendererOptions.three
|
||||
return <Button
|
||||
label={`Batch Chunks Display ${_renderByChunks ? 'ON' : 'OFF'}`} onClick={() => {
|
||||
inScreen
|
||||
label={`Batch Chunks Display ${_renderByChunks ? 'ON' : 'OFF'}`}
|
||||
onClick={() => {
|
||||
options.rendererOptions.three._renderByChunks = !_renderByChunks
|
||||
}} />
|
||||
}}
|
||||
/>
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue