Left-click to set minSelectedSample, right-click to set maxSelectedSample.