fix(dock): restore transactional integrity and fix build breaks

This commit is contained in:
2026-03-28 17:12:17 +09:00
parent cda3b292b5
commit 0a0359ec06
5 changed files with 104 additions and 16 deletions

View File

@@ -1,3 +1,5 @@
using Ghost.Editor.Core.Controls.Internal.Docking;
namespace Ghost.Editor.View.Controls;
/// <summary>
@@ -13,9 +15,9 @@ public sealed class TabTornOffEventArgs : EventArgs
/// <summary>
/// Gets the source node the tab is being torn off from.
/// </summary>
public object SourceNode { get; }
public DockPanelNode SourceNode { get; }
public TabTornOffEventArgs(object tabContent, object sourceNode)
public TabTornOffEventArgs(object tabContent, DockPanelNode sourceNode)
{
TabContent = tabContent;
SourceNode = sourceNode;