winforms
winforms copied to clipboard
Address Graphics state reset issue in DarkMode Button renderers
This PR makes sure, that the Graphics state is reset to the original state after rendering the DarkMode Button but implementing the render logic based on ButtonDarkModeRendererBase.
Follows up respective issues pointed out by the DarkMode feature reviews.
Microsoft Reviewers: Open in CodeFlow
Codecov Report
Attention: Patch coverage is 0% with 18 lines in your changes missing coverage. Please review.
Project coverage is 76.75863%. Comparing base (
e037b05) to head (0d940b7). Report is 23 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #13641 +/- ##
===================================================
+ Coverage 76.75572% 76.75863% +0.00290%
===================================================
Files 3256 3256
Lines 642016 642019 +3
Branches 47548 47548
===================================================
+ Hits 492784 492805 +21
+ Misses 145574 145554 -20
- Partials 3658 3660 +2
| Flag | Coverage Δ | |
|---|---|---|
| Debug | 76.75863% <0.00000%> (+0.00290%) |
:arrow_up: |
| integration | 18.98494% <0.00000%> (-0.00682%) |
:arrow_down: |
| production | 51.32509% <0.00000%> (+0.00675%) |
:arrow_up: |
| test | 97.41719% <ø> (ø) |
|
| unit | 48.70966% <0.00000%> (+0.01303%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.