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

[Bug]: Quest Overview / Tasks Rewards are cut off by nothing #94

Closed sisby-folk closed 1 year ago

sisby-folk commented 1 year ago

Bug Description

Screens scroll one text line at a time, which looks great for text but causes multi-line widgets and headers to become "cut off" without there being any visual separation between the visible section and the non-visible section, appearing glitchy

image

How to Reproduce?

make an overview with many task previews or h1 elements

Expected Behavior

haha would it be one of our "bug" reports if we didn't have a solution already loaded (it would not)

https://github.com/terrarium-earth/Hermes/pull/3 demonstrates a method by which the content can take up the whole content area vertically while mid-scroll, preventing the "invisible cutoff" problem, but still show a comfortable margin when at either extreme of the scrolling area (or always if the content fits completely on screen)

The same principle could be applied to tasks and rewards from there

Version

1.0.5

Mod Loader Version

0.20.2

Mod Loader

No response

Logs or additional context

No response

Code of Conduct