Skip to content

zooming lags behind #17

@cytobi

Description

@cytobi

when zooming large graphs the tkinter event queue gets backed up causing the zoom to lag

specifically a bunch of events get created when zooming. every individual event triggers a redraw of the graph. however, since there are already more events in the queue tkinter decides to handle these first before actually drawing what we've told it to draw. this could be fixed by only drawing the graph if there are no more zoom events in the queue.

read https://tkdocs.com/tutorial/eventloop.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions