how can fit_to_window() reset the offset angles of nodes that are scrolled by mouse?

Can fit_to_window also reset the offset angles of nodes that are changed by
scrolling the mouse + 'Shift' button?

I found that the offset angles of nodes remain after calling
fit_to_window()...

Thanks a lot.