We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0aa4d14 + b2a94b5 commit f034795Copy full SHA for f034795
1 file changed
OpenBCI_GUI/W_TimeSeries.pde
@@ -784,7 +784,9 @@ class ChannelBar {
784
}
785
786
private boolean isBottomChannel() {
787
- return channelIndex == nchan - 1;
+ int numActiveChannels = w_timeSeries.tsChanSelect.activeChan.size();
788
+ boolean isLastChannel = channelIndex == w_timeSeries.tsChanSelect.activeChan.get(numActiveChannels - 1);
789
+ return isLastChannel;
790
791
792
public void mousePressed() {
0 commit comments