radiant-player / radiant-player-electron

:zap: The future Radiant Player 2.0
https://radiant-player.github.io
32 stars 8 forks source link

Make full titlebar draggable #19

Open davidhatten opened 6 years ago

davidhatten commented 6 years ago

At the "Sign in" screen, the title bar was only draggable right around the control buttons. I've widened the title bar so that you can click and drag on a much larger area.

The title bar does not extend all the way across because then it would cover up the right hand controls during sign in and general use.

Currently, during general use, the window dragging is somewhat slow. I think this is the drag coming from ReactElectronWebview, but I can't be sure. Either way, this is more responsive.

I'm not sure about the change in GooglePlayMusic, but it stopped an error from happening, didn't cause any new errors, and looks like it's what was intended. The console was complaining that it couldn't open gpm.js, but it was happy about getting the built one from /dist/