|
@@ -892,10 +892,20 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
|
showRect.size.height = cScreenWidth
|
|
|
}
|
|
|
}
|
|
|
- showRect.origin.y = (playerShowHeight - showRect.size.height) / 2.0 + (navHeadImageView?.frame.maxY ?? 0)
|
|
|
+
|
|
|
if showRect.size.width != 0, showRect.size.height != 0 {
|
|
|
- playerView.resetCanvasFrame(frame: showRect)
|
|
|
+ if(Int(showRect.height) % 2 != 0){
|
|
|
+ showRect.size.height = showRect.size.height + 1.0
|
|
|
+ }
|
|
|
+ if(Int(showRect.width) % 2 != 0){
|
|
|
+ showRect.size.width = showRect.size.width + 1.0
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
+ showRect.origin.y = (playerShowHeight - showRect.size.height) / 2.0 + (navHeadImageView?.frame.maxY ?? 0)
|
|
|
+ playerView.resetCanvasFrame(frame: showRect)
|
|
|
+
|
|
|
+
|
|
|
|
|
|
var firstModel: PQEditVisionTrackMaterialsModel?
|
|
|
for part in projectModel.sData!.sections {
|