Browse Source

【fix】【注释回复】筛选器,间隔太宽

tangchao 4 months ago
parent
commit
889cfaa658

+ 7 - 0
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/Annotation/Controller/KMNoteOutlineFilterViewController.swift

@@ -143,6 +143,13 @@ class KMNoteOutlineFilterViewController: NSViewController {
                 viewM.contentWidth = width
                 self.stateViewModels_.append(viewM)
                 
+                // 特殊场景 修正
+                if self.stateArray_.count == 2 {
+                    if self.stateArray_.last == state {
+                        viewM.itemSize.width += offset
+                    }
+                }
+                
                 preViewM = viewM
             }
             stateH = height + 20 + 12