mirror of https://github.com/axmolengine/axmol.git
Fixed `Label::getLetter(index)->setVisible(true)` cause draws duplicate letters.
This commit is contained in:
parent
990a25f759
commit
6bf15885b8
|
@ -144,6 +144,11 @@ public:
|
|||
|
||||
_textureAtlas->updateQuad(&_quad, _atlasIndex);
|
||||
}
|
||||
|
||||
//LabelLetter doesn't need to draw directly.
|
||||
void draw(Renderer *renderer, const Mat4 &transform, uint32_t flags)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
Label* Label::create()
|
||||
|
|
Loading…
Reference in New Issue