MCPcopy Create free account
hub / github.com/Nearcyan/vibecraft / decreaseBrushSize

Method decreaseBrushSize

src/ui/DrawMode.ts:163–170  ·  view source on GitHub ↗

* Decrease brush size

()

Source from the content-addressed store, hash-verified

161 * Decrease brush size
162 */
163 decreaseBrushSize(): void {
164 if (this.state.brushSize > 1) {
165 this.state.brushSize--
166 this.updateUI()
167 this.notifyChange()
168 soundManager.playSliderTick(this.state.brushSize / 4)
169 }
170 }
171
172 /**
173 * Check if 3D mode is enabled

Callers 2

handleKeyMethod · 0.95
renderPaletteMethod · 0.95

Calls 3

updateUIMethod · 0.95
notifyChangeMethod · 0.95
playSliderTickMethod · 0.80

Tested by

no test coverage detected