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

Avoid incorrect warning about title font color and menu background color being equal or similar | #473 #474

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

DKNorad
Copy link
Contributor

@DKNorad DKNorad commented Nov 2, 2023

Moved the self._menubar.set_menu(self) after self._menubar.set_font() to avoid running _check_title_color() in menubar.py before a title font color is set.

Moved the .set_menu after .set_font to avoid _check_title_color before a title font color is set.
@DKNorad DKNorad changed the title Fix for #473 Avoid incorrect warning about title font color and menu background color being equal or similar | #473 Nov 2, 2023
@ppizarror
Copy link
Owner

Thanks, I'll merge today

Copy link

codecov bot commented Nov 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bcfaccb) 97.22% compared to head (684a83f) 97.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #474      +/-   ##
==========================================
+ Coverage   97.22%   97.24%   +0.01%     
==========================================
  Files          49       49              
  Lines       12422    12436      +14     
==========================================
+ Hits        12077    12093      +16     
+ Misses        345      343       -2     
Files Coverage Δ
pygame_menu/menu.py 96.69% <100.00%> (+0.05%) ⬆️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ppizarror ppizarror merged commit eb8e28f into ppizarror:master Nov 3, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants