Commit 17f5916d authored by 李维's avatar 李维

调整加载动画位置

parent 74a916fa
...@@ -9105,8 +9105,8 @@ ...@@ -9105,8 +9105,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
332.841, 0,
44.851, 120,
0, 0,
0, 0,
0, 0,
......
...@@ -641,6 +641,8 @@ export default class VideoPlayerComponent extends cc.Component { ...@@ -641,6 +641,8 @@ export default class VideoPlayerComponent extends cc.Component {
this.fullscreenVideoControls.emit("show"); this.fullscreenVideoControls.emit("show");
this.videoPlayer.stayOnBottom = true; this.videoPlayer.stayOnBottom = true;
this.videoControls.active = false; this.videoControls.active = false;
// 调整加载动画位置
this.loadingSprite.y = 0;
cc.find(`Canvas/title`).active = false; cc.find(`Canvas/title`).active = false;
cc.find('Canvas/pageButton').active = false; cc.find('Canvas/pageButton').active = false;
setTimeout(() => { setTimeout(() => {
...@@ -688,6 +690,8 @@ export default class VideoPlayerComponent extends cc.Component { ...@@ -688,6 +690,8 @@ export default class VideoPlayerComponent extends cc.Component {
this.fullscreenVideoControls.emit("hide"); this.fullscreenVideoControls.emit("hide");
// 显示正常视频控制条 // 显示正常视频控制条
this.videoControls.active = true; this.videoControls.active = true;
// 调整加载动画位置
this.loadingSprite.y = 120;
// 显示全屏按钮 // 显示全屏按钮
cc.find(`fullscreen`, this.videoControls).active = true; cc.find(`fullscreen`, this.videoControls).active = true;
// 隐藏退出按钮 // 隐藏退出按钮
......
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