|
@@ -882,7 +882,17 @@ import KMComponentLibrary
|
|
|
}
|
|
|
|
|
|
func updateEditModeDocumentWhenPageChanged() {
|
|
|
-
|
|
|
+ if viewManager.editType == .watermark {
|
|
|
+ updateWatermarkDocument()
|
|
|
+ } else if viewManager.editType == .background {
|
|
|
+ updateBackgroundDocument()
|
|
|
+ } else if viewManager.editType == .header_Footer {
|
|
|
+ updateHeaderFooterDocument()
|
|
|
+ } else if viewManager.editType == .bates {
|
|
|
+ updateBatesDocument()
|
|
|
+ } else if viewManager.subToolMode == .Edit_Crop {
|
|
|
+ updateCropDocument()
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//MARK: - Crop裁剪
|