-
Notifications
You must be signed in to change notification settings - Fork 10
Add MList #52
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
Add MList #52
Conversation
|
Is it only me? feeling uncomfortable to see the dark colored selected item text in dark mode? |
| public class MList : GenList, IColorSchemeComponent | ||
| { | ||
| HashSet<GenItem> _realizedItems = new HashSet<GenItem>(); | ||
| Color _none = new Color(0, 0, 0, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What none means? What is different with default and Color.Black?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is different with Color.Black, I changed the name to _transparent
| } | ||
| } | ||
|
|
||
| protected void OnListDeleted(object sender, EventArgs e) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OnDeleted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
| { | ||
| public class MList : GenList, IColorSchemeComponent | ||
| { | ||
| HashSet<GenItem> _realizedItems = new HashSet<GenItem>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to hold additional item list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's because GenList doesn't provide to access to GenItems they have internally.
GenItems are needed whenever the theme color is changed, MList saves the items when it is realized.
Description of Change
This PR is for adding MList
Issues Resolved
API Changes
Added
Platforms Affected
Behavioral/Visual Changes
None
Before/After Screenshots
PR Checklist