#1386
spec repins: tab-less config windows (watch 9f3b8a33..30a2570e) + shared DrawEnergyTab path drift
merge ? CI — GitHub ↗lane1/watch-527-layout · PurpleFuchs · 12 Dateien · +37 −31 · 2026-11-04
Zusammenfassung
Lane-1 watch coverage for 30a2570e (phantom TABBARHEIGHT in tab-less CWs):
Repins (upstream constants changed intentionally)
- BatteryLight DrawEnergyTab: returned height 292→242 (text offset −10 + −40 header subtract)
- CapacitorDetailsTab: power text B×4→B×2 (y 94→82), tile y B×2+40+56→B×3+40+18 (138→106), health bar 294→262
- DrawCapacitorCW 332→272, DrawPyramidLeechCW 332→308
New pins
- Rename row anchors at the window bottom minus border (CapacitorDetailsTab); DarkPyramidB keeps the −40−6 header contract — PyrB spec gained a rename-position pin for that module's real behavior
Stale-drift repair (was red on main)
- DrawEnergyTab consolidated to GuiElements.ConfigWindows.DrawEnergyTab in 4f515291 — repointed M paths + stub keys in DrawEnergyTab_Radar/_Teleporter, DrawRadarCw, DrawTeleporterCW, GuiElementsGates2, GuiElementsGatePins2
Skipped: PyramidLeech/DrawDetailsTab has no dedicated spec (rename-row change covered by the Capacitor pattern pin); all other files were pure constant swaps.
insuite: DrawEnergyTab 39/39, CapacitorDetailsTab 6/6, DrawCapacitorCW 3/3, DrawPyramidLeechCW 1/1, DrawDetailsTabPyrB 8/8, BatteryLight 15/15, DrawRadarCw 5/5, DrawTeleporterCW 6/6 — syntaxchk 4068 OK / 0 ERR / 3 SKIPPED
Geänderte Dateien (12)
| UnitTests/TARGETS.md | geändert | +1 −0 |
| UnitTests/spec/CapacitorDetailsTab_spec.lua | geändert | +11 −9 |
| UnitTests/spec/DrawCapacitorCW_spec.lua | geändert | +4 −4 |
| UnitTests/spec/DrawDetailsTabPyrB_spec.lua | geändert | +3 −1 |
| UnitTests/spec/DrawEnergyTab_BatteryLight_spec.lua | geändert | +3 −2 |
| UnitTests/spec/DrawEnergyTab_Radar_spec.lua | geändert | +2 −2 |
| UnitTests/spec/DrawEnergyTab_Teleporter_spec.lua | geändert | +2 −2 |
| UnitTests/spec/DrawPyramidLeechCW_spec.lua | geändert | +3 −3 |
| UnitTests/spec/DrawRadarCw_spec.lua | geändert | +2 −2 |
| UnitTests/spec/DrawTeleporterCW_spec.lua | geändert | +2 −2 |
| UnitTests/spec/GuiElementsGatePins2_spec.lua | geändert | +2 −2 |
| UnitTests/spec/GuiElementsGates2_spec.lua | geändert | +2 −2 |