fix(studio): polish character skill rows

This commit is contained in:
Erik 2026-06-26 17:25:09 +02:00
parent 5f92493742
commit ffaf593c76
3 changed files with 47 additions and 19 deletions

View file

@ -175,6 +175,9 @@ public class UiClickablePanel : UiPanel
{
if (UseSelectionBars && BackgroundSprite != 0 && SpriteResolve is { } sr)
{
if (BackgroundColor.W > 0f)
ctx.DrawRect(0, 0, Width, Height, BackgroundColor);
// Draw the selection highlight as a thin bar at the TOP and BOTTOM of the row.
// The sprite (0x06001397) is 300×32 px — we draw it as horizontal strips at
// native height (SelectionBarHeight), stretched to full panel width (UV tile