mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: hide the popup close button when the popup is disappearing (it was visible in some cases)
This commit is contained in:
@@ -207,7 +207,9 @@ internal class PopupView: NSView {
|
||||
documentView.scroll(NSPoint(x: 0, y: documentView.bounds.size.height))
|
||||
}
|
||||
}
|
||||
internal func disappear() {}
|
||||
internal func disappear() {
|
||||
self.header.setCloseButton(false)
|
||||
}
|
||||
|
||||
private func recalculateHeight(_ size: NSSize) {
|
||||
var isScrollVisible: Bool = false
|
||||
|
||||
Reference in New Issue
Block a user