minicraft-plus-revived icon indicating copy to clipboard operation
minicraft-plus-revived copied to clipboard

Add ability to horizontally scroll entries

Open BenCheung0422 opened this issue 1 year ago • 4 comments

Fixes #486 This is a more complete version of #489. This generally enables the ability to scroll entries horizontally and render the entries without hardly breaking or hiding the entries. This fixes a number of issues related to non-user-friendly rendering on entries. Features:

  • Manual scrolling when the entry is longer than the menu bounds:

https://github.com/MinicraftPlus/minicraft-plus-revived/assets/74168521/30f19600-3248-4384-a8ba-0cd2683f94b2

  • Improved input entry displacement handling and scrolling:

https://github.com/MinicraftPlus/minicraft-plus-revived/assets/74168521/0060b7ac-576f-4e8b-81c1-bc83da9147a1

  • Static entry scrolling (scrolling text and alternating scrolling text):

https://github.com/MinicraftPlus/minicraft-plus-revived/assets/74168521/8e6d8dd0-ee25-40ff-884a-34e8397cc29f

  • World list input entry fix (previous and new):

https://github.com/MinicraftPlus/minicraft-plus-revived/assets/74168521/7b3c1d26-e282-4b08-8e95-7907362749fa

https://github.com/MinicraftPlus/minicraft-plus-revived/assets/74168521/5521685d-7c81-4b3a-bd1e-1321b249f8e4

  • A new common class is added: RenderingLimitingModel Controls to entry shifting are limited to only menus internally. Internally, entries are wrapped by MenuListEntry for the controls of entries over menu.

BenCheung0422 avatar Jul 26 '23 14:07 BenCheung0422