Skip to content

Commit

Permalink
chore: Update titles to call out community edition of YAFC (#2)
Browse files Browse the repository at this point in the history
I've got both the original version of YAFC and the community edition
(CE) on my computer. I then realized you can't differentiate between
them, so I wanted to update the titles so you can tell the difference.
  • Loading branch information
shpaass authored Jan 28, 2024
2 parents 6e9fc91 + c0921eb commit 2925fe0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions YAFC/Windows/MainScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public MainScreen(int display, Project project) : base(default)
Instance = this;
tabBar = new MainScreenTabBar(this);
allPages = new VirtualScrollList<ProjectPage>(30, new Vector2(0f, 2f), BuildPage, collapsible:true);
Create("Yet Another Factorio Calculator v"+YafcLib.version, display);
Create("Yet Another Factorio Calculator CE v"+YafcLib.version, display);
SetProject(project);
}

Expand Down Expand Up @@ -665,4 +665,4 @@ public void ShowTooltip(ImGui gui, ProjectPage page, bool isMiddleEdit, Rect rec
});
}
}
}
}
4 changes: 2 additions & 2 deletions YAFC/Windows/WelcomeScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public WelcomeScreen() : base(ImGuiUtils.DefaultScreenPadding)
errorScroll = new VerticalScrollCustom(20f, BuildError, collapsible:true);
recentProjectScroll = new VerticalScrollCustom(20f, BuildRecentProjectList, collapsible:true);
languageScroll = new VerticalScrollCustom(20f, LanguageSelection, collapsible: true);
Create("Welcome to YAFC v"+YafcLib.version.ToString(3), 45, null);
Create("Welcome to YAFC CE v"+YafcLib.version.ToString(3), 45, null);
IconCollection.ClearCustomIcons();
if (tips == null)
tips = File.ReadAllLines("Data/Tips.txt");
Expand Down Expand Up @@ -380,4 +380,4 @@ private void BuildRecentProjectList(ImGui gui)
}
}
}
}
}

0 comments on commit 2925fe0

Please # to comment.