mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
More StyleBox UiScale fixes. (#4175)
This commit is contained in:
@@ -40,6 +40,11 @@ namespace Robust.Shared.Maths
|
||||
Right = right;
|
||||
Bottom = bottom;
|
||||
}
|
||||
|
||||
public Thickness Scale(float scale)
|
||||
{
|
||||
return new Thickness(Left * scale, Top * scale, Right * scale, Bottom * scale);
|
||||
}
|
||||
|
||||
[SuppressMessage("ReSharper", "CompareOfFloatsByEqualityOperator")]
|
||||
public readonly bool Equals(Thickness other)
|
||||
|
||||
Reference in New Issue
Block a user