fix inscreen button

This commit is contained in:
Vitaly Turovsky 2025-03-26 06:55:09 +03:00
commit b32bab8211

View file

@ -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
}} />
}}
/>
}
},
{