e6715d6...5d2c9f2
commit 5d2c9f2e19d9d876d606415667f56c1f92fd1b8f Author: ezjamsen <ezjames.fi@gmail.com> Date: Tue Mar 5 19:35:34 2019 +0200 corrected cases commit cd9cf4ed3117b9a5cc4cb57428d8dc11d756d274 Author: ezjamsen <ezjames.fi@gmail.com> Date: Tue Mar 5 19:01:54 2019 +0200 updated settings commit 84ad07149a8e56d59fd2d71b34fbb92479eba042 Author: Iiro Enges <iiro@fakefish.fi> Date: Tue Mar 5 18:48:26 2019 +0200 Added an updated title text commit 0ae68b0857ee259cac1480cb20a9c02f3bb88d8d Author: Iiro Enges <iiro@fakefish.fi> Date: Tue Mar 5 18:46:59 2019 +0200 Replaced old alien ruin textures with new ones (more variants to be added) commit b57a6765f56ea1504ff5b39b14172f73b4122597 Author: Joonas Rikkonen <poe.regalis@gmail.com> Date: Tue Mar 5 17:44:46 2019 +0200 Fixed particle jitter caused by a bug in the interpolation logic (was especially noticeable when the sub is moving fast)
This commit is contained in:
@@ -184,63 +184,6 @@ namespace Barotrauma.Items.Components
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void ApplyTo(RectTransform target)
|
||||
{
|
||||
if (RelativeOffset.HasValue)
|
||||
{
|
||||
target.RelativeOffset = RelativeOffset.Value;
|
||||
}
|
||||
else if (AbsoluteOffset.HasValue)
|
||||
{
|
||||
target.AbsoluteOffset = AbsoluteOffset.Value;
|
||||
}
|
||||
if (RelativeSize.HasValue)
|
||||
{
|
||||
target.RelativeSize = RelativeSize.Value;
|
||||
}
|
||||
else if (AbsoluteSize.HasValue)
|
||||
{
|
||||
target.NonScaledSize = AbsoluteSize.Value;
|
||||
}
|
||||
if (Anchor.HasValue)
|
||||
{
|
||||
target.Anchor = Anchor.Value;
|
||||
}
|
||||
if (Pivot.HasValue)
|
||||
{
|
||||
target.Pivot = Pivot.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
target.Pivot = RectTransform.MatchPivotToAnchor(target.Anchor);
|
||||
}
|
||||
target.RecalculateChildren(true, true);
|
||||
}
|
||||
}
|
||||
|
||||
public GUIFrame GuiFrame { get; protected set; }
|
||||
|
||||
[Serialize(false, false)]
|
||||
public bool AllowUIOverlap
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
private ItemComponent linkToUIComponent;
|
||||
[Serialize("", false)]
|
||||
public string LinkUIToComponent
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Serialize(0, false)]
|
||||
public int HudPriority
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
private bool shouldMuffleLooping;
|
||||
|
||||
Reference in New Issue
Block a user