diff --git a/VimR/Workspace/WorkspaceBar.swift b/VimR/Workspace/WorkspaceBar.swift index bf79bcbe..37eef184 100644 --- a/VimR/Workspace/WorkspaceBar.swift +++ b/VimR/Workspace/WorkspaceBar.swift @@ -383,6 +383,11 @@ extension WorkspaceBar { override func hitTest(_ point: NSPoint) -> NSView? { let loc = self.convert(point, from: nil) + + guard self.isOpen else { + return super.hitTest(point) + } + if self.resizeRect().contains(loc) { return self }