WTHIT

WTHIT

12M Downloads

Cannot use negative values in overlay X or Y position fields

cm-360 opened this issue ยท 0 comments

commented

Describe the bug
Negative values cannot be entered into the overlay section of the config GUI because a minus sign "-" cannot be entered into the field, but are usable in game if the config is edited manually.
Link to log: latest.log

To Reproduce
Steps to reproduce the behavior:
In the WTHIT config GUI, navigate to WTHIT Settings > Overlay, and attempt to put a negative value into the X Position or Y Position fields.

Expected behavior
Negative values should be allowed in the two fields to specify offsets in the left or upwards directions, for better right- or bottom-anchored positioning.

Setup

  • Minecraft: 1.17
  • WTHIT: 3.5.3
  • Fabric Loader: 0.11.3
  • Fabric API: 0.35.0+1.17

Additional context
Negative values cannot be entered into the Background Alpha field as expected, but CAN be entered into the Scale field.