-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Open
Description
Version
Phaser 4 RC5
Description
In scene.add.grid(...) the Grid factory pulls the arguments in order and passes them straight into new Grid(...). Inside the constructor, when it sees strokeFillColor defined, it immediately calls setStrokeStyle(strokeFillColor, strokeFillAlpha). The factory treats the gridColor argument as “stroke color” but leaves the default width argument empty, the constructor ends up using that same color as the stroke width (lineWidth = 0x6b7280) gives us a stroke width of 7 million -_-
Metadata
Metadata
Assignees
Labels
No labels