mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-28 02:11:40 +00:00
Disable drawing during color picking (#96)
Replaces showThreshold with shouldDraw
This commit is contained in:
@@ -184,6 +184,7 @@
|
||||
// That `map` calls are to make sure that we don't let any undefined/null values slip in
|
||||
this.currentFunction = undefined;
|
||||
this.$store.state.colorPicking = false;
|
||||
this.handlePipelineUpdate("outputShouldDraw", true);
|
||||
|
||||
s.hsvHue = [hsvArray[0][0], hsvArray[1][0]];
|
||||
s.hsvSaturation = [hsvArray[0][1], hsvArray[1][1]];
|
||||
@@ -219,6 +220,7 @@
|
||||
break;
|
||||
}
|
||||
this.$store.state.colorPicking = true;
|
||||
this.handlePipelineUpdate("outputShouldDraw", false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user