Skip to content

cannot open move and resize tail all at once #2239

@nbros

Description

@nbros

Opening a tail then immediately moving and resizing it doesn't work:

const [ww, wh] = ns.ui.windowSize();
ns.ui.openTail(pid);
ns.ui.moveTail(58, 0, pid);
ns.ui.resizeTail(Math.min(800, ww / 4), wh - 4, pid);

When I call this code the first time the tail is open in the middle of the game window, then when I call it again it positions and resizes the tail as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoAdditional info or a reliable bug reproduction method are needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions