Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Dim titlebar and window border when window loses focus #15

Open
binaryfunt opened this issue Feb 22, 2020 · 3 comments
Open

Dim titlebar and window border when window loses focus #15

binaryfunt opened this issue Feb 22, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@binaryfunt
Copy link
Owner

No description provided.

@binaryfunt binaryfunt added the enhancement New feature or request label Feb 22, 2020
@binaryfunt binaryfunt self-assigned this Feb 22, 2020
@Toby56
Copy link
Contributor

Toby56 commented Feb 24, 2020

I have already done good titlebar and icon dimming in my own app, I can share that with you if you want.
As for windows borders, they're really complicated to get the same as a normal window frame (they're actually transparent or maybe something even more complicated, which makes it impossible to get the right color). Maybe you can figure it out or just find something that looks good. Also there is the fairly big chromium issue where last row of pixels on the right and bottom is cut off like 80% of the time (depending on what the window is resized too), because the size of the content inside the windows is 1px larger. You can see this on hyper and chrome itself, but chrome uses the native window border so it doesn't really matter for it.

@binaryfunt
Copy link
Owner Author

binaryfunt commented Feb 24, 2020

I also already implemented titlebar dimming in an app I'm working on 😛

@Toby56
Copy link
Contributor

Toby56 commented Feb 24, 2020

app demo

The recorder messed up the mouse somehow 🤷‍♂️
Also it has full screen support

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants