setGridCellSize method

void setGridCellSize(
  1. double value
)

Sets the grid cell size in scene units.

Implementation

void setGridCellSize(double value) {
  if (scene.background.grid.cellSize == value) return;
  scene.background.grid.cellSize = value;
  _contracts.markSceneGeometryChanged();
  _contracts.notifyNow();
}