add a bit of spacing to the left edge of the popup to reduce colors bleeding into the background
This commit is contained in:
@@ -235,8 +235,8 @@ namespace FlaxEditor.Windows.Search
|
|||||||
var iconRect = _icon.Bounds;
|
var iconRect = _icon.Bounds;
|
||||||
_asset.DrawThumbnail(ref iconRect);
|
_asset.DrawThumbnail(ref iconRect);
|
||||||
|
|
||||||
// Draw icon color strip
|
// Draw color strip
|
||||||
var rect = iconRect with { Width = 2, Height = Height, Location = Float2.Zero };
|
var rect = iconRect with { Width = 2, Height = Height, Location = new Float2(2, 0) };
|
||||||
Render2D.FillRectangle(rect, _accentColor);
|
Render2D.FillRectangle(rect, _accentColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user