|
@@ -167,6 +167,9 @@ import Cocoa
|
|
|
annotation?.setButtonWidgetStateString(list[0])
|
|
|
|
|
|
dropdownNewAddBtn.isEnabled = false
|
|
|
+
|
|
|
+ annotation?.updateAppearanceStream()
|
|
|
+ pdfView?.setNeedsDisplayAnnotationViewFor(annotation?.page)
|
|
|
}
|
|
|
|
|
|
@IBAction private func deleteAction(_ sender: Any) {
|
|
@@ -194,6 +197,9 @@ import Cocoa
|
|
|
annotation?.setButtonWidgetStateString(list[0])
|
|
|
|
|
|
dropdownProjectTextFieldDidMouseDown()
|
|
|
+
|
|
|
+ annotation?.updateAppearanceStream()
|
|
|
+ pdfView?.setNeedsDisplayAnnotationViewFor(annotation?.page)
|
|
|
}
|
|
|
|
|
|
@IBAction private func moveUpAction(_ sender: Any) {
|
|
@@ -209,6 +215,9 @@ import Cocoa
|
|
|
annotation?.setButtonWidgetStateString(list[0])
|
|
|
|
|
|
dropdownProjectTextFieldDidMouseDown()
|
|
|
+
|
|
|
+ annotation?.updateAppearanceStream()
|
|
|
+ pdfView?.setNeedsDisplayAnnotationViewFor(annotation?.page)
|
|
|
}
|
|
|
|
|
|
@IBAction private func moveDownAction(_ sender: Any) {
|
|
@@ -224,6 +233,9 @@ import Cocoa
|
|
|
annotation?.setButtonWidgetStateString(list[0])
|
|
|
|
|
|
dropdownProjectTextFieldDidMouseDown()
|
|
|
+
|
|
|
+ annotation?.updateAppearanceStream()
|
|
|
+ pdfView?.setNeedsDisplayAnnotationViewFor(annotation?.page)
|
|
|
}
|
|
|
|
|
|
private func setChoiceWidgetChoices(_ choices: [String]) {
|