From 06727be0240aabd2b13a67140fed77fb7cc22058 Mon Sep 17 00:00:00 2001 From: kmyuhkyuk <72241714+kmyuhkyuk@users.noreply.github.com> Date: Mon, 23 Mar 2026 08:59:25 +0800 Subject: [PATCH] Update --- SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs | 4 ++-- .../Components/IPAddressInfoPanel.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs b/SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs index 107837a..e1fd982 100644 --- a/SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs +++ b/SlayTheSpire2.LAN.Multiplayer/Components/CopiedLabel.cs @@ -32,13 +32,13 @@ namespace SlayTheSpire2.LAN.Multiplayer.Components base._Ready(); } - public void ShowWithGlobalPosition(Vector2 position) + public void Show(Vector2 globalPosition) { _tween?.Kill(); Modulate = new Color(Colors.White); - GlobalPosition = position; + GlobalPosition = globalPosition; _tween = GetTree().CreateTween(); diff --git a/SlayTheSpire2.LAN.Multiplayer/Components/IPAddressInfoPanel.cs b/SlayTheSpire2.LAN.Multiplayer/Components/IPAddressInfoPanel.cs index 19b2140..dfc6f18 100644 --- a/SlayTheSpire2.LAN.Multiplayer/Components/IPAddressInfoPanel.cs +++ b/SlayTheSpire2.LAN.Multiplayer/Components/IPAddressInfoPanel.cs @@ -193,7 +193,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Components !string.IsNullOrEmpty(_ipAddressLabel.Text)) { DisplayServer.ClipboardSet(_ipAddressLabel.Text); - _copiedLabel.ShowWithGlobalPosition(inputEventMouseButton.GlobalPosition); + _copiedLabel.Show(inputEventMouseButton.GlobalPosition); } }; @@ -210,7 +210,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Components !string.IsNullOrEmpty(_ipv6AddressLabel.Text)) { DisplayServer.ClipboardSet(_ipv6AddressLabel.Text); - _copiedLabel.ShowWithGlobalPosition(inputEventMouseButton.GlobalPosition); + _copiedLabel.Show(inputEventMouseButton.GlobalPosition); } }; @@ -315,7 +315,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Components !string.IsNullOrEmpty(ipAddressLabel.Text)) { DisplayServer.ClipboardSet(ipAddressLabel.Text); - _copiedLabel?.ShowWithGlobalPosition(inputEventMouseButton.GlobalPosition); + _copiedLabel?.Show(inputEventMouseButton.GlobalPosition); } };