toggleCrosshair method
void
toggleCrosshair()
Toggles crosshair on/off.
Implementation
void toggleCrosshair() {
_showCrosshair = !_showCrosshair;
if (!_showCrosshair) {
_crosshairPosition = null;
}
notifyListeners();
triggerAutoSave();
}