drawTip atMost 3 items
This commit is contained in:
1 parent
9848b9bfe5
commit
a19f8f4275
1 file changed
+3
@@ -487,6 +487,9 @@ ui.prototype.drawTip = function (text, id, clear) {
|
||||
}
|
||||
}
|
||||
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) {
|
||||
|
||||
Reference in new issue
Block a user