keesverruijt / BR24radar_pi

OpenCPN radar plugin for Navico Broadband Radars (BR24, 3G, 4G models) [HISTORIC]
17 stars 25 forks source link

Overzoom when changing range #225

Open marcus-aa opened 8 years ago

marcus-aa commented 8 years ago

When changing range using mouse scroll OR buttons in Radar windows, it seems to overshoot the zoom level, going first too far then immediately back to the correct display.

keesverruijt commented 8 years ago

It's a visual artifact, we change the range internally but don't draw the old spokes correctly. We should zoom the spoke memory when the range is changed. An alternative is to erase the entire screen.

keesverruijt commented 7 years ago

I fixed a number of issues that were related to this, but it is not perfect yet. In particular the ARPA contours can get drawn at the wrong distance.

keesverruijt commented 7 years ago

Fixes include today's commit f0f04cb44c3d3aaac0fc18d5d3d3bfec2e2a282f for fixing the shader -- it never fully erased the picture when a range zoom was done.