소스 검색

fix cornerRadius menu

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 년 전
부모
커밋
7f0a530be0
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      iOSClient/Menu/NCMenu+FloatingPanel.swift

+ 2 - 1
iOSClient/Menu/NCMenu+FloatingPanel.swift

@@ -75,7 +75,8 @@ class NCMenuPanelController: FloatingPanelController {
         self.surfaceView.backgroundColor = .systemBackground
         self.isRemovalInteractionEnabled = true
         self.backdropView.dismissalTapGestureRecognizer.isEnabled = true
-        self.surfaceView.layer.cornerRadius = 16
+        self.surfaceView.layer.cornerRadius = 14
+        self.surfaceView.clipsToBounds = true
 
         surfaceView.grabberHandle.accessibilityLabel = NSLocalizedString("_cart_controller_", comment: "")