mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
completely hide the hidden widget (#21931)
This commit is contained in:
@@ -251,12 +251,15 @@ export class ProfilerTableEditor extends EditorPane implements IProfilerControll
|
|||||||
}
|
}
|
||||||
|
|
||||||
private _onFindStateChange(e: FindReplaceStateChangedEvent): void {
|
private _onFindStateChange(e: FindReplaceStateChangedEvent): void {
|
||||||
|
const node = this._finder.getDomNode();
|
||||||
if (e.isRevealed) {
|
if (e.isRevealed) {
|
||||||
if (this._findState.isRevealed) {
|
if (this._findState.isRevealed) {
|
||||||
this._finder.getDomNode().style.top = '0px';
|
node.style.top = '0px';
|
||||||
|
node.style.display = '';
|
||||||
this._updateFinderMatchState();
|
this._updateFinderMatchState();
|
||||||
} else {
|
} else {
|
||||||
this._finder.getDomNode().style.top = '';
|
node.style.top = '';
|
||||||
|
node.style.display = 'none';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user