mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
streaming redraw test no longer checks for $xlast, since if $haveNewData is set, $xlast is
guaranteed to be set also.
This commit is contained in:
parent
ce4927e24d
commit
e68a65a889
@ -351,8 +351,9 @@ sub mainThread {
|
||||
}
|
||||
}
|
||||
|
||||
elsif($options{"stream"} && defined $xlast)
|
||||
elsif($options{"stream"})
|
||||
{
|
||||
# only redraw a streaming plot if there's new data to plot
|
||||
next unless $haveNewData;
|
||||
$haveNewData = undef;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user