CreativeCore icon indicating copy to clipboard operation
CreativeCore copied to clipboard

Suggestions in GuiSliders on Right-click

Open SrRapero720 opened this issue 1 year ago • 1 comments

OVERVIEW Sliders are in-range value pickers, when you right click the slider it let you choose a specific value in that range In the past it only shows the float value in the specific range, but the PR #207 adds the DisplayValue, which is a fake value display such as PERCENT, this display ignores if the max value is 125 or 215, it always shows the percent when value is between 0 to 100, if the value overflows then the percent also overflows.

this makes users have no idea of what should put inside the TextField when they right-click the sliders

SOLUTION When user right-clicks the slider, the TextField will be created with a suggestion (also fixed in ff43f2f94028c3f9fdfcdda962c8ae6834827a58) displaying the range of the real values example: range of -85 ~ 255 or 0 ~ 255 or 0.0 to 1.0

SrRapero720 avatar May 16 '24 21:05 SrRapero720

i will PR this when i have time (aka i PR the 1.19.2 backport code, i opened just to not forgot about it anyway, if you can do it is better, so i can't reduce my number of todo things

SrRapero720 avatar May 16 '24 22:05 SrRapero720

Sorry, at the moment I do not have the time for that. Would be cool if you can do it. I will close this issue here anyway, as it is not the right place to keep track of a todo list.

CreativeMD avatar Aug 23 '24 14:08 CreativeMD