You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The waterfall widget does not interpolate between pixels, the spectrum widget does. This leads to an offset between the two displays depending on the available width for the waterfall widget:
// we do not interpolate between pixels so we just zoom slightly in and display// the area.width pixel in the center of the waterfalllet start = (styles.len() - area.widthasusize) / 2;for(column, style)in styles
.iter().skip(start).take(area.widthasusize).enumerate(){
buf.set_string(
area.left() + column asu16,
area.top() + row asu16,PIX,*style,);}
We already try to scale the frequency down to almost the available width. We should stop doing this and instead scale to exactly the correct width and build the pixels using the max (since we don't want to loose narrow signals) between two scaled frequencies (columns).
(Submitted by crazy_imp on irc)
The text was updated successfully, but these errors were encountered: