Disable drawing during color picking (#96)

Replaces showThreshold with shouldDraw
This commit is contained in:
Banks T
2020-08-20 14:45:28 -04:00
committed by GitHub
parent 0f8507e6b3
commit 072075508c
15 changed files with 95 additions and 69 deletions

View File

@@ -70,6 +70,7 @@ export default new Vuex.Store({
contourGroupingMode: 0,
contourIntersection: 0,
contourSortMode: 0,
outputShouldDraw: true,
outputShowMultipleTargets: false,
offsetRobotOffsetMode: 0,
solvePNPEnabled: false,

View File

@@ -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);
}
}
}