add a bit of spacing to the left edge of the popup to reduce colors bleeding into the background

This commit is contained in:
xxSeys1
2025-06-26 12:47:31 +02:00
parent 109d4423bb
commit bf10d0949e

View File

@@ -235,8 +235,8 @@ namespace FlaxEditor.Windows.Search
var iconRect = _icon.Bounds;
_asset.DrawThumbnail(ref iconRect);
// Draw icon color strip
var rect = iconRect with { Width = 2, Height = Height, Location = Float2.Zero };
// Draw color strip
var rect = iconRect with { Width = 2, Height = Height, Location = new Float2(2, 0) };
Render2D.FillRectangle(rect, _accentColor);
}