Skip to content

Graph fails to recenter on width change #73

@gridhead

Description

@gridhead

If the application opens up in fullscreen, like as follows
image

And if I go ahead and press [Super] + [Left Arrow] to align the browser window to the left side, the following is seen.
image

Of course, it isn't quite the issue when the page is loaded in such a state. Then, it gets aligned to the center as intended.
image

But, then if I press [Super] + [Up Arrow] to maximize the size of the browser window, the following is seen.
image

An function is needed to be subjected to the onresize event handler of the window to make sure that the graph is always centered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions