-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove titlebar on macos #374
Conversation
This does indeed make the window not draggable. The fix can be found in adjusting the style sheet. This is the code that made it work from the previous version. https://github.com/chrisknepper/android-messages-desktop/blob/b3abdcddc288e7aace0be452713a4949f1c8348f/src/stylesheets/main.css#L51 |
Since we now load the website directly we need to pick part of the page that is always available. Or maybe we can inject a bar? |
Does the dom have a app-root (I assume this is an angular app) that we can slide next too. I wouldn't want to interfere with the apps dom. Might cause unexpected issues. |
Makes sense. I'll push a new commit up for testing later. |
0d35620
to
c212688
Compare
c212688
to
a0c66d8
Compare
a0c66d8
to
4f86725
Compare
Currently the titlebar will always be injected. Potentially only want to do it on mac. |
9ffac39
to
4f86725
Compare
Tested and it works |
Can you confirm it still works otherwise I will need to revert that commit and make sure the bar doesnt interfere on other platforms. |
Confirmed still working with latest from this PR |
Does the size feel correct? As in do you find it obvious where you can drag even though the bar is invisible? |
Ya, there is plenty of space to grab it. Sure we could refine it but I would be happy with this. |
Good enough for me |
The current change just removes the frame. It does not mark any draggable regions. If the frame is gone and you cannot move the window we can work towards marking a good location as draggable.