Skip to content

Use segment 0 instead of return 0#102

Open
FarkasJanos wants to merge 1 commit intozarocknz:masterfrom
FarkasJanos:master
Open

Use segment 0 instead of return 0#102
FarkasJanos wants to merge 1 commit intozarocknz:masterfrom
FarkasJanos:master

Conversation

@FarkasJanos
Copy link

@FarkasJanos FarkasJanos commented Oct 3, 2020

Fixes #101

FilkerZero added a commit to FilkerZero/javascript-winwheel that referenced this pull request Nov 23, 2025
…(and any other characters) with code points that require 3 bytes to encode in UTF-8 in `drawSegmentText()`

* Made segment number wrap in `getRandomForSegment()` (extends the change from PR zarocknz#102)
* Applied the change from PR zarocknz#64, "Add Image Width/Height in `drawImage`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getRandomForSegment with 0 doesn't work

1 participant