fixes
This commit is contained in:
@@ -13,9 +13,9 @@ public abstract class BaseSymbolFactory<TSymbols> : IBaseSymbolFactory<TSymbols>
|
||||
return size switch
|
||||
{
|
||||
SymbolSize.Default => Size.Empty,
|
||||
SymbolSize.Small => new Size(SymbolGlobals.DefaultImageSmallSize, SymbolGlobals.DefaultImageSmallSize),
|
||||
SymbolSize.Medium => new Size(SymbolGlobals.DefaultImageMediumSize, SymbolGlobals.DefaultImageMediumSize),
|
||||
SymbolSize.Large => new Size(SymbolGlobals.DefaultImageLargeSize, SymbolGlobals.DefaultImageLargeSize),
|
||||
SymbolSize.Small => new Size((int)SymbolGlobals.DefaultImageSmallSize, (int)SymbolGlobals.DefaultImageSmallSize),
|
||||
SymbolSize.Medium => new Size((int)SymbolGlobals.DefaultImageMediumSize, (int)SymbolGlobals.DefaultImageMediumSize),
|
||||
SymbolSize.Large => new Size((int)SymbolGlobals.DefaultImageLargeSize, (int)SymbolGlobals.DefaultImageLargeSize),
|
||||
_ => new Size((int)size, (int)size),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user