Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallpaper zoom performance improvement and redrawing nodes #666

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mateodurante
Copy link

This is a new logic for wallpaper drawing where first crop wallpaper showed piece and then scale to the canvas/view size, so it improves avoiding scale entire wallpaper that is so slow on large pictures or when you do a lot zoom in.
Its related to #659

Also I made a function redraw_nodes() called on zoom in and zoom out, to change position of interface name/ip/nodes.

PD: I have another improvement to avoid redraw at every event, but I'm going to open a discussion about that because maybe it can be made better.

Let me know if it is ok.
Thanks,
Mateo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant