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

Replace Window id's with HashMap #37

Closed

Conversation

sundaram123krishnan
Copy link
Member

No description provided.

@Decodetalkers
Copy link
Collaborator

lock is not need anymore this is controlled by iced_layershell itself

@Decodetalkers
Copy link
Collaborator

I have not got the meaning of this pr

@Decodetalkers
Copy link
Collaborator

We should not use HashMap for these windows, because they are singleton window, should only exist one, and the singleton is already controlled by iced_layershell

@Decodetalkers
Copy link
Collaborator

just update the ui.. you should not change the logic of hidden_id, it is not the part of yours, and here it should not use hashmap I think

Copy link
Collaborator

@Decodetalkers Decodetalkers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just update the ui.. do not change other logic

@sundaram123krishnan
Copy link
Member Author

Had thought of having a refactor for managing the window id's by using a Hashmap
After hearing from u, as there are now less new windows to manage, maybe we could stick with individual fields in struct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants