Skip to content

Commit

Permalink
adjust slots
Browse files Browse the repository at this point in the history
  • Loading branch information
rraumberger committed Oct 26, 2024
1 parent 1fa4e04 commit 341ad29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,11 +805,11 @@ export function unEscapeArrayArgs(args) {

/**
* Custom tail function which also applies default resizes and tail window placement.
* This algorithm is not perfect but for the most apart should not generate overlaps of the window's title bar.
* This algorithm is not perfect but for the most part should not generate overlaps of the window's title bar.
* @param {NS} ns The nestcript instance passed to your script's main entry point
*/
export function tail(ns) {
ns.tail();
ns.resizeTail(ns.ui.windowSize()[0] * 0.75, ns.ui.windowSize()[1] * 0.25, ns.pid);
ns.moveTail(250, (ns.pid % 10) * 35, ns.pid);
ns.moveTail(250, (ns.pid % 13) * 35, ns.pid);
}

0 comments on commit 341ad29

Please sign in to comment.