Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Cargo flow legend does not get redrawn in additional area when zoomed out #7004
Tested using the current source code on the master branch, with 64-bit Windows 10, compiled with Visual Studio 2017 with all the default options. This bug also exists in the official v1.8.0 binaries.
Expected behaviour: Step 4 should draw the edge from Flardinghead to Grudinghattan immediately, instead of after around 5 seconds.
Sometimes, the edge is drawn immediately; in that case, just retry by going to step 3 and continuing from there. More often than not, the edge from Flardinghead to Grudinghattan will not be drawn.
It is probably because
Previously, when the user zooms in or out, the linkgraph overlay was recalculated before the zoom. This caused some stations and edges to be missing from the visible region of the viewport. Also used LINKGRAPH_DELAY when zooming, for consistency with scrolling and resizing.