base configs

This commit is contained in:
nx-smul
2025-01-17 18:08:55 +06:00
parent 4a173bceb9
commit 272e677bfb
49 changed files with 403 additions and 22461 deletions
@@ -60,13 +60,6 @@ export default (overviewMonitor = 0) => {
else if (x < 0) { w = x + w; x = 0; }
if (y + h <= 0) x += (Math.floor(y / monitors[monitor].height) * monitors[monitor].height);
else if (y < 0) { h = y + h; y = 0; }
<<<<<<< HEAD
// Prevents throwing an error when multiple monitors are plugged in but only one is enabled (#1047)
=======
>>>>>>> 1996008 (heda fix)
if (monitors.length - 1 < monitor) {
monitor = monitors.length - 1;
}
// Truncate if offscreen
if (x + w > monitors[monitor].width) w = monitors[monitor].width - x;
if (y + h > monitors[monitor].height) h = monitors[monitor].height - y;