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

Allow objects to listen for changes to the equipment list #6391

Closed
wants to merge 2 commits into from

Conversation

pavelbraginskiy
Copy link
Member

@pavelbraginskiy pavelbraginskiy commented Jan 11, 2025

Needed for a Lab feature, see the corresponding PR there: MegaMek/megameklab#1691.

JavaFX dependency grants ObservableList, which provides a single interface for detecting changes to the equipment list rather than trying to track down every method that might affect it.

Copy link

codecov bot commented Jan 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.57%. Comparing base (3993930) to head (7c20205).
Report is 84 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6391      +/-   ##
============================================
- Coverage     28.57%   28.57%   -0.01%     
+ Complexity    14090    14087       -3     
============================================
  Files          2785     2785              
  Lines        273288   273310      +22     
  Branches      48408    48409       +1     
============================================
- Hits          78103    78099       -4     
- Misses       191203   191230      +27     
+ Partials       3982     3981       -1     

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

@pavelbraginskiy pavelbraginskiy marked this pull request as draft January 12, 2025 05:43
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.

1 participant