|
@@ -894,6 +894,12 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
}
|
|
}
|
|
showRect.origin.y = (playerShowHeight - showRect.size.height) / 2.0 + (navHeadImageView?.frame.maxY ?? 0)
|
|
showRect.origin.y = (playerShowHeight - showRect.size.height) / 2.0 + (navHeadImageView?.frame.maxY ?? 0)
|
|
if showRect.size.width != 0, showRect.size.height != 0 {
|
|
if showRect.size.width != 0, showRect.size.height != 0 {
|
|
|
|
+ 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
|
|
|
|
+ }
|
|
playerView.resetCanvasFrame(frame: showRect)
|
|
playerView.resetCanvasFrame(frame: showRect)
|
|
}
|
|
}
|
|
|
|
|