by drakinite » Sun Feb 23, 2025 9:35 pm
Miniplayer dragging is determined by the pixel color underneath the mouse, and it's compared to the rgb values of "background-color" set by the css. If the pixel color under the mouse matches the aforementioned rgb values, then the window is marked as draggable to the OS. If the background is set to a gradient, then the pixel color under the mouse will almost never match the rgb value that's set by the background-color value.
This decision was made because it'd be very complicated to make dozens of small touch targets around the UI elements, so instead, just make everything draggable except for the UI elements because the UI elements are colored differently from the background.
I looked into this a couple years ago because if your monitor uses a custom color profile, then the pixel value under the mouse might be slightly different from the RGB value set by CSS, meaning that the miniplayer is not draggable if it appears on that monitor. Unfortunately, I'm not sure what the best solution here would be

Miniplayer dragging is determined by the pixel color underneath the mouse, and it's compared to the rgb values of "background-color" set by the css. If the pixel color under the mouse matches the aforementioned rgb values, then the window is marked as draggable to the OS. If the background is set to a gradient, then the pixel color under the mouse will almost never match the rgb value that's set by the background-color value.
This decision was made because it'd be very complicated to make dozens of small touch targets around the UI elements, so instead, just make everything draggable except for the UI elements because the UI elements are colored differently from the background.
I looked into this a couple years ago because if your monitor uses a custom color profile, then the pixel value under the mouse might be slightly different from the RGB value set by CSS, meaning that the miniplayer is not draggable if it appears on that monitor. Unfortunately, I'm not sure what the best solution here would be :confused: