lenasolarova / tiling_helper

1 stars 0 forks source link

Change tileByNum func to accept 1 or 2 args #5

Open lenasolarova opened 1 week ago

lenasolarova commented 1 week ago

Func tileByNum in tiler.js should use one argument (number of sections as is now) for times when it will tile only the current window (eg. the basic setup, not in preferences) and two arguments (first one will be the number of sections again, second will be number of monitor to be tiled).

Then, inside the function two options will arise - one staying as is now for the current, second one will instead of currentMonitor use givenMonitor, rest of code can stay the same.