Disable double-clicking of waveform & vectorscopes

This commit is contained in:
Lawrence Lee
2020-08-16 18:08:26 -07:00
parent 371fc65416
commit 350324affc

View File

@@ -1569,7 +1569,7 @@ bool HistogramArea::on_button_press_event (GdkEventButton* event)
isPressed = true;
movingPosition = event->x;
if (event->type == GDK_2BUTTON_PRESS && event->button == 1) {
if (event->type == GDK_2BUTTON_PRESS && event->button == 1 && scopeType == 0) {
drawMode = (drawMode + 1) % 3;
options.histogramDrawMode = (options.histogramDrawMode + 1) % 3;