Commit 22c2789e authored by Chen Jiping's avatar Chen Jiping

fix:修复滚动条问题

parent 7925919e
......@@ -966,7 +966,7 @@ export class PlayComponent implements OnInit, OnDestroy {
if(offsetY < Math.floor(this.initY)){
dis = Math.floor(this.initY) - offsetY;
}
else if(offsetY >= maxY){
else if(offsetY >= maxY || (offsetY < maxY && offsetY + h >= maxY)){
dis = -(offsetY - maxY+ h + dH);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment