feat: 实现编辑器标签页切换时恢复滚动条位置
This commit is contained in:
@@ -22,7 +22,8 @@ export type WorkspaceEventPayloads = {
|
||||
'editor:closeOtherTabs': { tabId: string };
|
||||
'editor:closeTabsToRight': { tabId: string };
|
||||
'editor:closeTabsToLeft': { tabId: string };
|
||||
|
||||
'editor:updateScrollPosition': { tabId: string; scrollTop: number; scrollLeft: number }; // 新增编辑器滚动事件
|
||||
|
||||
// Connection Events
|
||||
'connection:connect': { connectionId: number }; // 来自 WorkspaceConnectionList 或其他地方
|
||||
'connection:openNewSession': { connectionId: number }; // 来自 WorkspaceConnectionList
|
||||
|
||||
Reference in New Issue
Block a user