fix(dock): complete tear-off flow and add rollback on failure

This commit is contained in:
2026-03-28 16:01:42 +09:00
parent 8c136709ff
commit 304df0a381
4 changed files with 49 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
namespace Ghost.Editor.View.Controls;
/// <summary>
/// Event arguments for the TabTornOff event.
/// </summary>
public sealed class TabTornOffEventArgs : EventArgs
{
/// <summary>
/// Gets the content of the tab being torn off.
/// </summary>
public object TabContent { get; }
public TabTornOffEventArgs(object tabContent)
{
TabContent = tabContent;
}
}