chore: gdformat isometric_follow_camera.gd for CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
pull/131/head
VinPropane 2026-05-27 23:28:37 -04:00
parent 83d1bb13e4
commit a22c900655
1 changed files with 2 additions and 6 deletions

View File

@ -172,9 +172,7 @@ func _try_apply_trackpad_zoom_step(step: int) -> void:
## Accumulates trackpad pan delta; emits at most **one** band step per call.
static func consume_pan_zoom_accumulator(
accumulator: float,
delta: Vector2,
threshold: float = PAN_ZOOM_BAND_ACCUMULATOR_THRESHOLD
accumulator: float, delta: Vector2, threshold: float = PAN_ZOOM_BAND_ACCUMULATOR_THRESHOLD
) -> Dictionary:
if absf(delta.y) <= absf(delta.x):
return {"accumulator": accumulator, "step": 0}
@ -188,9 +186,7 @@ static func consume_pan_zoom_accumulator(
## Accumulates pinch log-scale; emits at most **one** band step per call.
static func consume_magnify_zoom_accumulator(
accumulator: float,
factor: float,
threshold: float = MAGNIFY_ZOOM_LOG_ACCUMULATOR_THRESHOLD
accumulator: float, factor: float, threshold: float = MAGNIFY_ZOOM_LOG_ACCUMULATOR_THRESHOLD
) -> Dictionary:
if factor <= 0.0:
return {"accumulator": accumulator, "step": 0}