Fix IDE0048
This commit is contained in:
committed by
Pavel Penev
parent
65e28d5562
commit
8ee6957e6a
@@ -58,8 +58,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
layerPreview.ResourceType = resourceType;
|
||||
layerPreview.Bounds.Width = size.Width;
|
||||
layerPreview.Bounds.Height = size.Height;
|
||||
newResourcePreviewTemplate.Bounds.Width = size.Width + (layerPreview.Bounds.X * 2);
|
||||
newResourcePreviewTemplate.Bounds.Height = size.Height + (layerPreview.Bounds.Y * 2);
|
||||
newResourcePreviewTemplate.Bounds.Width = size.Width + layerPreview.Bounds.X * 2;
|
||||
newResourcePreviewTemplate.Bounds.Height = size.Height + layerPreview.Bounds.Y * 2;
|
||||
newResourcePreviewTemplate.IsVisible = () => true;
|
||||
newResourcePreviewTemplate.GetTooltipText = () => resourceType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user