mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #828] [MERGED] Update Display.cs to current spec #1311
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?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/828
Author: @Yuvix25
Created: 1/10/2024
Status: ✅ Merged
Merged: 2/14/2024
Merged by: @FlorianRappl
Base:
main← Head:yuvix25/update-display-object📝 Commits (1)
b8b634bupdate display.cs to current spec📊 Changes
1 file changed (+46 additions, -6 deletions)
View changed files
📝
src/ElectronNET.API/Entities/Display.cs(+46 -6)📄 Description
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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.