Skip to content

Commit

Permalink
Fix close button not turning correct color on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharparam committed Oct 22, 2024
1 parent 8a2e322 commit 06d34c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scripts/gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1258,8 +1258,7 @@ local function create_window(player, entity)
style = "frame_action_button",
mouse_button_filter = { "left" },
sprite = "utility/close",
hovered_sprite = "utility/close_black",
clicked_sprite = "utility/close_black",
invert_colors_of_picture_when_hovered_or_toggled = true,
name = WINDOW_ID .. "_close",
handler = handle_close
}
Expand Down

0 comments on commit 06d34c0

Please sign in to comment.