|
@@ -1524,6 +1524,8 @@ extension KMLeftSideViewController: NSTableViewDelegate, NSTableViewDataSource {
|
|
|
guard let last = rowIndexes.last, last < self.pageCount() else {
|
|
|
return
|
|
|
}
|
|
|
+ //删除page时移除选中状态的annotation
|
|
|
+ self.listView?.activeAnnotations = []
|
|
|
for idx in rowIndexes {
|
|
|
if let page = self.pdfDocument()?.page(at: UInt(idx)) {
|
|
|
// for anno in page.annotations {
|