Remove PARENT_TOP and PARENT_LEFT from integer expressions for widgets
PARENT_TOP and PARENT_LEFT should be 0 so they are not very useful substitutions. They are replaced with 0 or removed if that was the whole value for a field.
This commit is contained in:
@@ -520,8 +520,6 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{ "WINDOW_RIGHT", Game.Renderer.Resolution.Width },
|
||||
{ "WINDOW_BOTTOM", Game.Renderer.Resolution.Height },
|
||||
{ "PARENT_RIGHT", parentBounds.Width },
|
||||
{ "PARENT_LEFT", parentBounds.Left },
|
||||
{ "PARENT_TOP", parentBounds.Top },
|
||||
{ "PARENT_BOTTOM", parentBounds.Height }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user