

Graphics()->ScreenWidth() (in canvas size) was reported incorrectly before, which is now fixed.
Also, I noticed th...
















emm, i guess you should try making the bar thinner and get rid of the border
































































rq











































ColorRGBA{pColorInner->r * 0.5f, pColorInner->g * 0.5f, pColorInner->b * 0.5f, 1.0f}
why do i even care tho. pure black works i guess.


float Lumen = mix(0.5f, 0.8f, 1.0f - (0.2126f * pColorInner->r + 0.7152f * pColorInner->g + 0.0722f * pColorInner->b));
float Alpha = clamp((pColorInner->a - 0.5f) / 0.5f, 0.0f, 1.0f);
RenderTools()->DrawUIRect(&Slider, ColorRGBA{pColorInner->r * Lumen, pColorInner->g * Lumen, pColorInner->b * Lumen, Alpha}, 0, 0);




























































































































































that's the problem


































































color_cast<ColorRGBA>





























































































docs/libtw2.
Unrelated change: Add missing `` in the explain pages.

























































































































































































1














