From bf10d0949e4aa937eb518570bc6ed36557173f8b Mon Sep 17 00:00:00 2001 From: xxSeys1 Date: Thu, 26 Jun 2025 12:47:31 +0200 Subject: [PATCH] add a bit of spacing to the left edge of the popup to reduce colors bleeding into the background --- Source/Editor/Windows/Search/SearchItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Editor/Windows/Search/SearchItem.cs b/Source/Editor/Windows/Search/SearchItem.cs index 4d610159e..63263cc58 100644 --- a/Source/Editor/Windows/Search/SearchItem.cs +++ b/Source/Editor/Windows/Search/SearchItem.cs @@ -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); }