Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
counter185 committed Sep 17, 2024
1 parent 763cf05 commit 36595e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions freesprite/StartScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class StartScreen : public BaseScreen, public EventCallbackListener

bool closeNextTick = false;

BaseTemplate* tab2templates[2] = {
std::vector<BaseTemplate*> tab2templates = {
new TemplateRPG2KCharset(),
new TemplateMC64x32Skin()
};
Expand Down Expand Up @@ -125,7 +125,7 @@ class StartScreen : public BaseScreen, public EventCallbackListener
h2Label2->position = xySubtract(XY{ 280,155 }, newImageTabs->position);
newImageTabs->tabs[1].wxs.addDrawable(h2Label2);

for (int x = 0; x < 2; x++) {
for (int x = 0; x < tab2templates.size(); x++) {
UIButton* buttonTemplate = new UIButton();
buttonTemplate->position = XY{ 40, 5 + x * 30 };
buttonTemplate->text = tab2templates[x]->getName();
Expand Down

0 comments on commit 36595e2

Please sign in to comment.