Idea: add function to screen facade to get center of screen where mouse cursor is currently located #373
Replies: 3 comments
-
Don't windows get rendered at the center of the screen already? |
Beta Was this translation helpful? Give feedback.
-
Yes but I don't think it handles multiple screens. This endpoint returns the center of the screen relative to the screen where the mouse is present. |
Beta Was this translation helpful? Give feedback.
-
The PR for this was merged. Awaiting release |
Beta Was this translation helpful? Give feedback.
-
Hi, while developing my new project, (a Raycast/Spotlight like app) I found necessar to open a window placed at the center of the screeen currently active. I tried to look into the available facades and didnt't find something perfectly matching my needs so I created thi little (ugly) helper to do it.
After making it a bit more pretty would it be a good addition to the project? if yes I'd like to contribute that.
Beta Was this translation helpful? Give feedback.
All reactions