Skip to content

Commit

Permalink
Merge branch 'master' into ctrlclick-recipe-hints
Browse files Browse the repository at this point in the history
  • Loading branch information
shpaass authored Aug 1, 2024
2 parents 5317f13 + 439f227 commit 8dbcba3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Yafc/Windows/WelcomeScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,14 @@ protected override void BuildContents(ImGui gui) {
ShowDropDown(gui, gui.lastRect, ProjectErrorMoreInfo, new Padding(0.5f), 30f);
}
}
if (gui.BuildButton("Back")) {
errorMessage = null;
Rebuild();
using (gui.EnterRow()) {
if (gui.BuildButton("Copy to clipboard", SchemeColor.Grey)) {
SDL.SDL_SetClipboardText(errorMessage);
}
if (gui.RemainingRow().BuildButton("Back")) {
errorMessage = null;
Rebuild();
}
}
}
else {
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Version x.y.z
Date:
Features:
- Provide hints that contol+clicking can add recipes, or to explain how to change things so it can.
- Add "Copy to Clipboard" button for data loading errors
Bugfixes:
- Fix regression in fluid variant selection when adding recipes.
----------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 8dbcba3

Please sign in to comment.