1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 00:20:25 +02:00

Find in Watch

This commit is contained in:
Brian Fiete 2024-03-25 06:18:50 -04:00
parent 732af58138
commit 82b4974a82
5 changed files with 710 additions and 28 deletions

View file

@ -487,16 +487,16 @@ namespace Beefy.theme.dark
float originY;
SelfToOtherTranslate(listView, 0, 0, out originX, out originY);
float prevLinePos = -1;
for (int32 i = 0; i < mChildItems.Count; i++)
{
var childItem = mChildItems[i];
if (childItem.mHeight == 0)
continue;
using (g.PushColor(listView.mGridLinesColor))
{
float linePos = childItem.mY + childItem.mHeight;
if (linePos <= mChildAreaHeight + mSelfHeight)
if ((linePos <= mChildAreaHeight + mSelfHeight) && (linePos != prevLinePos))
g.FillRect(-originX, linePos, listView.mWidth, 1);
prevLinePos = linePos;
}
}
}