split window WIP

This commit is contained in:
zadam
2021-05-19 22:45:34 +02:00
parent 8c1c9b00e2
commit b7bd5396d1
6 changed files with 97 additions and 48 deletions

View File

@@ -6,6 +6,10 @@ export default class TabAwareWidget extends BasicWidget {
return this.tabContext && this.tabContext.tabId === tabId;
}
isTabOrParent(tabId) {
return this.tabContext && (this.tabContext.tabId === tabId || this.tabContext.parentTabId === tabId);
}
isNote(noteId) {
return this.noteId === noteId;
}