Selaa lähdekoodia

Merge pull request #1142 from onehappycat/fix-1138

Fix "photos in edit mode are moving during drawing" #1138
Marino Faggiana 5 vuotta sitten
vanhempi
commit
d784f448c0
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      iOSClient/Main/NCMainCommon.swift

+ 1 - 0
iOSClient/Main/NCMainCommon.swift

@@ -1053,6 +1053,7 @@ class NCMainCommon: NSObject, PhotoEditorDelegate, NCAudioRecorderViewController
         photoEditor.clearButtonImage = CCGraphics.changeThemingColorImage(UIImage(named: "photoEditorClear")!, multiplier:2, color: .white)
         photoEditor.continueButtonImage = CCGraphics.changeThemingColorImage(UIImage(named: "photoEditorDone")!, multiplier:2, color: .white)
         
+        photoEditor.modalPresentationStyle = .fullScreen
         viewController.present(photoEditor, animated: true, completion: nil)
     }