fix: use integer constant for clip_children (Godot 4.2.2 compatibility) - #69
Conversation
…2.2 compatibility)
|
✅ Automated recommendation: APPROVE Analysis engine: MiniMax-M2.7@https://api.minimax.io/v1 Recommendation: ApproveThis is a well-scoped bug fix that addresses a runtime compatibility issue with Godot 4.2.2. The change is surgical (1 file, 1 line) and the PR body clearly documents the root cause. Change-by-Change Findings
Sources
Standards ComplianceNo violations detected against AGENTS.md conventions:
Unknowns / Needs Verification
ConclusionThe fix is correct, minimal, and well-documented. Approve for merge. |
Root cause:
Control.ClipChildrendoesn't exist as a GDScript enum in Godot 4.2.2. The enum is on the parent classCanvasItemand namedClipChildrenMode. Using the literal integer2instead works across all versions.One-liner fix on line 259 of scripts/main.gd.