diff --git a/MonkeyLoader.Resonite.Integration/UI/Tooltips/Tooltip.cs b/MonkeyLoader.Resonite.Integration/UI/Tooltips/Tooltip.cs index 1c2f5ef..19a052a 100644 --- a/MonkeyLoader.Resonite.Integration/UI/Tooltips/Tooltip.cs +++ b/MonkeyLoader.Resonite.Integration/UI/Tooltips/Tooltip.cs @@ -38,7 +38,7 @@ public sealed class Tooltip /// /// Gets the scale multiplier for this tooltip. /// - public float Scale => (IsOnDash ? 2.5f : 1) * TooltipConfig.Instance.TextScale; + public float Scale => TooltipConfig.Instance.TextScale; /// /// Gets the text renderer that's displaying @@ -52,7 +52,7 @@ internal Tooltip(Slot parent, in float3 localPosition, in LocaleString label) Root = TooltipConfig.Instance.EnableNonLocalTooltips ? parent.AddSlot("Tooltip") : parent.AddLocalSlot("Local Tooltip"); Root.LocalPosition = localPosition + float3.Backward * parent.GlobalScaleToLocal(0.01f) + float3.Down * parent.GlobalScaleToLocal(0.025f); - IsOnDash = Root.GetComponentInParents() is not null; // does this work? + IsOnDash = Root.GetComponentInParents() is not null; var ui = RadiantUI_Panel.SetupPanel(Root, label, new float2(Scale * 700, 100 * Scale), false, false); if (ui.Canvas.Slot.GetComponent() is BoxCollider collider) collider.Enabled = false;