diff --git a/js/components/EqualizerWindow.jsx b/js/components/EqualizerWindow.jsx index 084f4c4a..4f9827c0 100644 --- a/js/components/EqualizerWindow.jsx +++ b/js/components/EqualizerWindow.jsx @@ -43,11 +43,12 @@ class EqualizerWindow extends React.Component { window: true, selected: this.props.windows.focused === WINDOWS.EQUALIZER, closed: !this.props.windows.equalizer, + draggable: true, doubled }); return (
-
+
diff --git a/js/components/MainWindow.jsx b/js/components/MainWindow.jsx index 50865642..157897cc 100644 --- a/js/components/MainWindow.jsx +++ b/js/components/MainWindow.jsx @@ -48,6 +48,7 @@ export class MainWindow extends React.Component { stop: status === 'STOPPED', pause: status === 'PAUSED', selected: this.props.windows.focused === WINDOWS.MAIN, + draggable: true, loading, doubled, llama, @@ -68,7 +69,7 @@ export class MainWindow extends React.Component { return (
Loading...
-
+
diff --git a/js/components/PlaylistWindow.jsx b/js/components/PlaylistWindow.jsx index cc93b7ff..4d4a273d 100644 --- a/js/components/PlaylistWindow.jsx +++ b/js/components/PlaylistWindow.jsx @@ -10,13 +10,13 @@ const PlaylistWindow = (props) => { style.backgroundColor = props.NormalBG; } return ( -
+
-
-
-
-
+
+
+
+
diff --git a/js/components/WindowManager.jsx b/js/components/WindowManager.jsx index d7c2a6c5..1662d109 100644 --- a/js/components/WindowManager.jsx +++ b/js/components/WindowManager.jsx @@ -60,6 +60,9 @@ class WindowManager extends React.Component { } handleMouseDown(i, e) { + if (!e.target.classList.contains('draggable')) { + return; + } const mouseStart = { x: e.clientX, y: e.clientY