refactor: changed child id
This commit is contained in:
@@ -15,7 +15,7 @@ TowerPlacePopup::TowerPlacePopup(client::Client* client) : GuiWidget(client) {
|
|||||||
|
|
||||||
void TowerPlacePopup::render() {
|
void TowerPlacePopup::render() {
|
||||||
if (ImGui::BeginPopup("TowerPlace")) {
|
if (ImGui::BeginPopup("TowerPlace")) {
|
||||||
ImGui::BeginChild("SubWindow", ImVec2(800, m_TowerPopupTileHeight + 20), false, ImGuiWindowFlags_HorizontalScrollbar);
|
ImGui::BeginChild("TowerPlacePopupChild", ImVec2(800, m_TowerPopupTileHeight + 20), false, ImGuiWindowFlags_HorizontalScrollbar);
|
||||||
for (int i = 0; i < (int)game::TowerType::TowerCount; i++) {
|
for (int i = 0; i < (int)game::TowerType::TowerCount; i++) {
|
||||||
if (i > 0) ImGui::SameLine();
|
if (i > 0) ImGui::SameLine();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user