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

Update Display.cs to current spec #828

Merged

Conversation

Yuvix25
Copy link
Contributor

@Yuvix25 Yuvix25 commented Jan 10, 2024

As you can see here, the current Display.cs file in Electron.NET is not up to date. I've added all the missing fields (except for those which show up in the docs, but do not actually appear in the object we fetch from electron), and checked locally to see that it works.

One thing to note is that I did not change the Id value from string to int, because that caused the Electron.Screen.GetAllDisplaysAsync() method to hang forever, and changing it also means breaking backwards compatibility.

Copy link
Collaborator

@FlorianRappl FlorianRappl left a comment

Choose a reason for hiding this comment

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

Thanks!

@FlorianRappl FlorianRappl merged commit f31fe19 into ElectronNET:main Feb 14, 2024
2 of 3 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