We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e05efa5 commit 3f826beCopy full SHA for 3f826be
lib/minimap-find-and-replace.js
@@ -71,10 +71,10 @@ module.exports = {
71
const [fnrPanel] = atom.workspace.getBottomPanels().filter(panel => panel.element.firstChild.classList.contains('find-and-replace'))
72
73
if (fnrPanel) {
74
- this.changeVisible(true)
75
- fnrPanel.onDidChangeVisible((visible) => {
+ this.changeVisible(fnrPanel.isVisible())
+ this.subscriptions.add(fnrPanel.onDidChangeVisible((visible) => {
76
this.changeVisible(visible)
77
- })
+ }))
78
} else {
79
if (retry < 10) {
80
setTimeout(() => this.setOnChangeVisibility(retry + 1), 100)
0 commit comments