Commit 6e419ec5 authored by yu's avatar yu

进度条隐藏

parent 9dae1f68
......@@ -5047,7 +5047,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 2176,
"height": 1600
"height": 1650
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5059,7 +5059,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
25,
0,
0,
0,
......@@ -5112,7 +5112,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 2176,
"height": 1600
"height": 1650
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5502,7 +5502,7 @@
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_top": -50,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
......
......@@ -802,8 +802,6 @@ cc.Class({
let card_group = cc.find("card_group", this.node);
let slider = cc.find("slider", card_group);
slider.active = true;
let handle = cc.find("Handle", slider);
handle.active = true;
let sl = slider.getComponent(cc.Slider)
sl.progress = 0;
let t = time / 10;
......@@ -819,13 +817,11 @@ cc.Class({
.to(t, { progress: 0.9 }).call(() => { this.setCardColor(sl.progress); })
.to(t, { progress: 1 }).call(() => {
this.setCardColor(sl.progress);
let handle = cc.find("Handle", slider);
handle.active = false;
slider.active = false;
})
.delay(1).call(() => {
this.hideBox();
let handle = cc.find("Handle", slider);
handle.active = false;
sl.progress = 0;
})
.delay(0.5).call(() => {
return resolve("")
......
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