@@ -889,8 +889,12 @@ extension KMHomeViewController {
windowVC.window?.becomeMain()
}
-
- windowVC.window?.center()
+ if windowVC.window?.isVisible == true && windowVC.didSetOriginFrame == true {
+
+ } else {
+ windowVC.window?.center()
+ windowVC.didSetOriginFrame = true
+ }
windowVC.eventLabel = "AITools_Onboard"
windowVC.showWindow(nil)
@@ -1204,7 +1204,7 @@ extension KMMainViewController: KMSystemToolMenuProtocol {
for index in 0 ... self.listView.document.pageCount - 1 {
let page: CPDFPage = self.listView.document.page(at: index)
let rotation = page.rotation
- page.leftRotate()
+ page.rightRotate()
pageItems.append(KMThumbnailPageItem(page: page, rotate: page.rotation, oldRotate: rotation))