Quark Oddities

Quark Oddities

22M Downloads

Variant Selector has angle in which wrong item is selected

copygirl opened this issue · 0 comments

commented

Minecraft: 1.20.1
NeoForge: 47.1.106
Quark: 4.0-460

There's an angle at which the wrong item is selected when the cursor is over the right-most item in the selector wheel.

image

Instead of selecting the beam (right item), the stripped wood (bottom right item) is selected.
The marked area is the one in which the selection error occurs.

Presumably this has something to do with an angle close to 0° / 360° not being handled correctly.

boolean mouseInSector = variantExists && start < angle && angle < end && dist > 64;