jakereps / deskflix Goto Github PK
View Code? Open in Web Editor NEWAlways on top desktop viewer for Netflix
License: MIT License
Always on top desktop viewer for Netflix
License: MIT License
Currently the default behavior of expanding an Electron BrowserWindow
is just to expand it outwards from the top left corner (i.e. in the positive x and y direction), but that doesn't play nicely when the screen is nested in any corner other than the top left corner, as growing in that direction pushes it off the screen.
This should be handled using the screen
module of Electron. I think the way to do it would just be to force it to stay on the screen by also dynamically manipulating the x, y values on resize.
Another way could be to limit it to only be able to be placed in the corners and expand outwards from them, but that seems a little restrictive.
Bounds contraints:
_ _ _ _
| ↑|
| _|
| ← |_|
|_______|
Corner pinning:
_ _ _ _ _ _ _ _
|_| → | and | ← |_|
|_↓______| |_____↓_|
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.