This commit is contained in:
Baobhan Sith
2025-05-23 21:04:54 +08:00
parent 9f6d8258af
commit ac519b8c8f
2 changed files with 2 additions and 2 deletions
@@ -22,7 +22,7 @@ export type WorkspaceEventPayloads = {
'editor:closeOtherTabs': { tabId: string };
'editor:closeTabsToRight': { tabId: string };
'editor:closeTabsToLeft': { tabId: string };
'editor:updateScrollPosition': { tabId: string; scrollTop: number; scrollLeft: number }; // 新增编辑器滚动事件
'editor:updateScrollPosition': { tabId: string; scrollTop: number; scrollLeft: number };
// Connection Events
'connection:connect': { connectionId: number }; // 来自 WorkspaceConnectionList 或其他地方