mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-22 11:52:03 +03:00
fixed #9482 - dragged-in panes going to sleep after some time
This commit is contained in:
parent
c3baad4525
commit
0894c305ad
1
.gitignore
vendored
1
.gitignore
vendored
@ -37,3 +37,4 @@ tabby-ssh/util/pagent.exe
|
|||||||
*.psd
|
*.psd
|
||||||
|
|
||||||
crowdin.yml
|
crowdin.yml
|
||||||
|
.crowdin.env
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { Observable, Subject, distinctUntilChanged, filter, debounceTime } from 'rxjs'
|
import { Observable, Subject, BehaviorSubject, distinctUntilChanged, filter, debounceTime } from 'rxjs'
|
||||||
import { EmbeddedViewRef, Injector, ViewContainerRef, ViewRef } from '@angular/core'
|
import { EmbeddedViewRef, Injector, ViewContainerRef, ViewRef } from '@angular/core'
|
||||||
import { RecoveryToken } from '../api/tabRecovery'
|
import { RecoveryToken } from '../api/tabRecovery'
|
||||||
import { BaseComponent } from './base.component'
|
import { BaseComponent } from './base.component'
|
||||||
@ -75,9 +75,9 @@ export abstract class BaseTabComponent extends BaseComponent {
|
|||||||
private titleChange = new Subject<string>()
|
private titleChange = new Subject<string>()
|
||||||
private focused = new Subject<void>()
|
private focused = new Subject<void>()
|
||||||
private blurred = new Subject<void>()
|
private blurred = new Subject<void>()
|
||||||
private visibility = new Subject<boolean>()
|
protected visibility = new BehaviorSubject<boolean>(false)
|
||||||
private progress = new Subject<number|null>()
|
protected progress = new BehaviorSubject<number|null>(null)
|
||||||
private activity = new Subject<boolean>()
|
protected activity = new BehaviorSubject<boolean>(false)
|
||||||
private destroyed = new Subject<void>()
|
private destroyed = new Subject<void>()
|
||||||
|
|
||||||
private _destroyCalled = false
|
private _destroyCalled = false
|
||||||
|
@ -471,6 +471,8 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit
|
|||||||
}
|
}
|
||||||
tab.removeFromContainer()
|
tab.removeFromContainer()
|
||||||
tab.parent = this
|
tab.parent = this
|
||||||
|
|
||||||
|
tab.emitVisibility(this.visibility.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
let target = relative ? this.getParentOf(relative) : null
|
let target = relative ? this.getParentOf(relative) : null
|
||||||
|
Loading…
Reference in New Issue
Block a user