Improved the standardization of UI
This commit is contained in:
@ -57,7 +57,7 @@ namespace Dawn {
|
||||
auto player = VNPenny::create(this);
|
||||
|
||||
auto uiPlayer = canvas->addElement<PokerPlayerDisplay>();
|
||||
uiPlayer->setTransform(UI_COMPONENT_ALIGN_STRETCH, UI_COMPONENT_ALIGN_STRETCH, glm::vec4(i * 220, 0, 0, 0), 0);
|
||||
uiPlayer->setTransform(UI_COMPONENT_ALIGN_START, UI_COMPONENT_ALIGN_START, glm::vec4(i * 220, 0, 220, 200), 0);
|
||||
uiPlayer->setPlayer(player->getComponent<PokerPlayer>());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user