mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #828] Update Display.cs to current spec #1315
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/ElectronNET/Electron.NET/pull/828
State: closed
Merged: Yes
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
Idvalue fromstringtoint, because that caused theElectron.Screen.GetAllDisplaysAsync()method to hang forever, and changing it also means breaking backwards compatibility.