Commit 8f3b8fc7 authored by yu's avatar yu

滑动条隐藏

parent bafe6fdf
......@@ -4251,7 +4251,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 2176,
"height": 1600
"height": 1650
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -4263,7 +4263,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
25,
0,
0,
0,
......@@ -4316,7 +4316,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 2176,
"height": 1600
"height": 1650
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -4706,7 +4706,7 @@
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_top": -50,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
......
......@@ -718,8 +718,6 @@ cc.Class({
let card_group = cc.find("card_group", this.node);
let slider = cc.find("slider", card_group);
slider.action = true;
let handle = cc.find("Handle", slider);
handle.active = true;
let sl = slider.getComponent(cc.Slider)
sl.progress = 0;
let t = time / 10;
......@@ -736,10 +734,10 @@ cc.Class({
.to(t, { progress: 1 }).call(() => {
this.setCardColor(sl.progress);
this.hideBox();
let handle = cc.find("Handle", slider);
handle.active = false;
slider.active = false;
sl.progress = 0;
})
.delay(0.5).call(() => {
.delay(0.8).call(() => {
return resolve("")
})
.start();
......
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