mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-15 03:25:01 -05:00
remove use of new-index-but-better-specific functions
This commit is contained in:
parent
26729c3f34
commit
654d226489
1 changed files with 2 additions and 2 deletions
|
@ -156,10 +156,10 @@ void ListBorders::setSprites(
|
|||
if (m_right) m_right->removeFromParent();
|
||||
|
||||
m_top = top;
|
||||
this->addChildAtPosition(m_top, Anchor::Top, ccp(0, -m_top->getScaledContentHeight() / 3));
|
||||
this->addChildAtPosition(m_top, Anchor::Top, ccp(0, -m_top->getContentHeight() / 3));
|
||||
|
||||
m_bottom = bottom;
|
||||
this->addChildAtPosition(m_bottom, Anchor::Bottom, ccp(0, m_bottom->getScaledContentHeight() / 3));
|
||||
this->addChildAtPosition(m_bottom, Anchor::Bottom, ccp(0, m_bottom->getContentHeight() / 3));
|
||||
|
||||
m_left = left;
|
||||
this->addChildAtPosition(m_left, Anchor::Left, ccp(0, 0));
|
||||
|
|
Loading…
Reference in a new issue