setGridEnabled method
- bool value
Enables or disables the background grid.
Implementation
void setGridEnabled(bool value) {
if (scene.background.grid.isEnabled == value) return;
scene.background.grid.isEnabled = value;
_contracts.markSceneGeometryChanged();
_contracts.notifyNow();
}