исправлены ворнинги
This commit is contained in:
@@ -65,7 +65,7 @@ public sealed class MinintDocument
|
||||
public int FindColorCached(RgbaColor color)
|
||||
{
|
||||
var cache = EnsurePaletteCache();
|
||||
return cache.TryGetValue(color, out int idx) ? idx : -1;
|
||||
return cache.GetValueOrDefault(color, -1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user