terrarium-earth / Heracles

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

[Bug]: More than 5 dependencies cannot be displayed #206

Open NitrolessWasTaken opened 6 months ago

NitrolessWasTaken commented 6 months ago

Bug Description

When one quest has more than 5 dependencies, the later ones will not be visible in the list of dependencies, which makes them unable to be removed unless previous ones are removed too. Functionality is not impacted, all dependencies work as intended, even if more than 5 dependencies are set.

image

Note that a quest named "ff" is also added, but cannot be seen on the list.

How to Reproduce?

  1. Add 7 or more quests (lets say A, B, C, D, etc quests)
  2. Add every other quest as the dependency of the last letter (in this example quest G)
  3. In the dependency list of this quest, only quests A, B, C, D and E are visible, F is not. Scrolling is not possible. F cannot be removed until another quest is removed, at which point quest F becomes visible again.

Expected Behavior

The list of dependencies should be a scrollable menu.

Version

1.1.11

Mod Loader Version

1.20.1 - 0.15.7

Mod Loader

Fabric

Logs or additional context

No response

Code of Conduct