Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #291: Changed dropdown icon to Icon.Menu for clarity and consistency. #385

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Yafc/Widgets/DataGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public override void BuildHeader(ImGui gui) {
var rect = gui.statePosition;
Rect menuRect = new Rect(rect.Right - 1.7f, rect.Y, 1.5f, 1.5f);
if (gui.isBuilding) {
gui.DrawIcon(menuRect, Icon.DropDown, SchemeColor.BackgroundText);
gui.DrawIcon(menuRect, Icon.Menu, SchemeColor.BackgroundText);
}

if (gui.BuildButton(menuRect, SchemeColor.None, SchemeColor.Grey)) {
Expand Down
2 changes: 1 addition & 1 deletion Yafc/Windows/MainScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private void BuildTabBar(ImGui gui) {
}

gui.allocator = RectAllocator.RightRow;
if (gui.BuildButton(Icon.DropDown, SchemeColor.None, SchemeColor.Grey).WithTooltip(gui, "List and search all pages (Ctrl+Shift+" +
if (gui.BuildButton(Icon.Menu, SchemeColor.None, SchemeColor.Grey).WithTooltip(gui, "List and search all pages (Ctrl+Shift+" +
ImGuiUtils.ScanToString(SDL.SDL_Scancode.SDL_SCANCODE_F) + ")") || showSearchAll) {
showSearchAll = false;
updatePageList();
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Version:
Date:
Features:
- Apply productivity, speed, and consumption effects to recipes, and show them in tooltips.
- Updated the dropdown icon for better clarity.
Fixes:
- Building emission/absorption (pollution and spores) are displayed in tooltips again.
- Fix a parsing error when using the deprecated data.extend API.
Expand Down