terrarium-earth / Heracles

A tree style questing mod allowing creators to set completable quests for their users
MIT License
35 stars 19 forks source link

Arrow render fixes #141

Closed SubordinalBlue closed 1 year ago

SubordinalBlue commented 1 year ago

Comprises three small commits:

  1. Improves arrow visibility by raising the alpha values it is drawn with.

  2. Fixes the logic of the isHovered test by considering the width and height of the quest. This was done with a terrible hack: hard-coded width and height.

  3. Formatting: broke the very long isHovered conditional across multiple lines. Followed Google's Java Style Guide: https://google.github.io/styleguide/javaguide.html#s4.5-line-wrapping