DFOnline / CodeClient

A DiamondFire utility client for advanced coding.
MIT License
12 stars 8 forks source link

action viewer overlay #80

Closed sylviameows closed 1 week ago

sylviameows commented 2 weeks ago

adds a tool tip overlay to code chest menus so you don't have to hover over the reference book to see descriptions. this overlay is toggle able through the config and is disabled by default.

Examples

example1 example 1: a standard code block with minimal description.

example2 example 2: a standard code block with a large description.

example3 example 3: example of normal tooltips displaying over the action's description.

example4 example 4: example of a call function block displaying it's description. (only works if reference book is in your inventory)

sylviameows commented 2 weeks ago

this feature is much more polished now, and has some extra benefit with viewing code blocks with large action sizes (like noise blocks). I'd like to look into adding some sort of easing on the movements, but that probably wouldn't fit into CodeClient's style.

RedVortexDev commented 2 weeks ago

hey 👋 this looks really good.. thinking that if the tooltip was pinned to top instead of centered (closer to args) it would look better?

sylviameows commented 2 weeks ago

i've added tooltip alignment and scrolling inversion as preferences in the config, and changed the defaults to have the feature enabled, aligned to the top, and use normal scrolling.