Skip to content

Commit

Permalink
fix(tiling): Fix typo attempting to fetch the height of the second mo…
Browse files Browse the repository at this point in the history
…nitor, instead of the first
  • Loading branch information
mmstick committed Feb 27, 2020
1 parent 0872f4c commit 9620d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tiling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class Tiler {
if (monitors.length == 0) return null;

const columns = monitors[0].width / ext.column_size;
const rows = monitors[1].height / ext.row_size;
const rows = monitors[0].height / ext.row_size;

return monitor_rect(monitors[0], columns, rows);
}
Expand Down

0 comments on commit 9620d3b

Please sign in to comment.