drawTip atMost 3 items
This commit is contained in:
parent
9848b9bfe5
commit
a19f8f4275
@ -487,6 +487,9 @@ ui.prototype.drawTip = function (text, id, clear) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
core.animateFrame.tips.list.push(one);
|
core.animateFrame.tips.list.push(one);
|
||||||
|
if (core.animateFrame.tips.list.length > 3) {
|
||||||
|
core.animateFrame.tips.list.shift();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ui.prototype._drawTip_drawOne = function (one, offset) {
|
ui.prototype._drawTip_drawOne = function (one, offset) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user