fix: widen blue/center lines +6px, extend goal lines to boards #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/rink-drawing-issues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes
Issue 1: Widen blue lines and center red line by 6 pixels
js/ice_canvas.js: ChangedlineWidth = 2toMath.round(h / 85) + 6for blue lines and center red line in all 4 drawing functions (drawFullIce,drawZone,drawCenterIce,drawHalfIceLengthwise)js/drill_designer.js: ChangedlineWidth = Math.round(h / 85)toMath.round(h / 85) + 6for blue lines and center red line in all 4 drawing functionsgenerate_rink_images.php: Changedimagesetthickness($img, 14)toimagesetthickness($img, 20)for center red line and blue linesIssue 2: Extend goal lines to boards
js/ice_canvas.js: Removed cornerRadius clipping indrawFullIce,drawZone, anddrawHalfIceLengthwise— goal lines now extend from 0 to full heightjs/drill_designer.js: Same changes — removed cornerRadius clipping indrawFullIceanddrawZonegenerate_rink_images.php: Already correct —getGoalLineYBounds()returns the full straight board sectionIssue 3: L-brackets verified ✅
Cleanup
cornerRadiusvariables from goal line clipping logicUpdated with all 4 fixes
All changes committed to
fix/rink-drawing-issuesbranch:Test preview uploaded to PWA screenshots repo:
ice-rink-full-preview.pngFix rink drawing: corner radius, NZ dots, hash marksto fix: widen blue/center lines +6px, extend goal lines to boardsView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.