feat(window): Improve window edge snapping accuracy by updating edge_snap.gd logic in snap_to_edge()

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-29 23:25:08 -07:00
parent dba5e2339c
commit fc1d9240d7

View file

@ -10,6 +10,10 @@ const SIDE_PADDING_RATIO: float = 0.04
var enabled: bool = true
func _ready() -> void:
enabled = AppState.get_snap_enabled()
func try_snap() -> void:
if not enabled:
return