Skip to content

Commit b32bab8

Browse files
committed
fix inscreen button
1 parent 52755fc commit b32bab8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/optionsGuiScheme.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,12 @@ export const guiOptionsScheme: {
110110
custom () {
111111
const { _renderByChunks } = useSnapshot(options).rendererOptions.three
112112
return <Button
113-
label={`Batch Chunks Display ${_renderByChunks ? 'ON' : 'OFF'}`} onClick={() => {
113+
inScreen
114+
label={`Batch Chunks Display ${_renderByChunks ? 'ON' : 'OFF'}`}
115+
onClick={() => {
114116
options.rendererOptions.three._renderByChunks = !_renderByChunks
115-
}} />
117+
}}
118+
/>
116119
}
117120
},
118121
{

0 commit comments

Comments
 (0)