mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-28 02:11:40 +00:00
bug fix for is binary in ui
This commit is contained in:
@@ -90,7 +90,6 @@ public class ServerHandler {
|
||||
} catch (Exception e){
|
||||
System.err.println("Camera Does not support exposure change");
|
||||
}
|
||||
|
||||
}
|
||||
case "brightness":{
|
||||
CameraManager.getCurrentCamera().setBrightness((Integer) entry.getValue());
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</v-col>
|
||||
<v-col cols="6" class="colsClass">
|
||||
<div>
|
||||
<v-tabs background-color="#212121" dark height="48" slider-color="#4baf62" centered style="padding-bottom:10px" v-model="isBinaryNumber" @change="handleInput('isBinary',!!pipeline.isBinary)">
|
||||
<v-tabs background-color="#212121" dark height="48" slider-color="#4baf62" centered style="padding-bottom:10px" v-model="isBinaryNumber" @change="handleInput('isBinary',pipeline.isBinary)">
|
||||
<v-tab>Normal</v-tab>
|
||||
<v-tab>Threshold</v-tab>
|
||||
</v-tabs>
|
||||
@@ -104,6 +104,9 @@ import CVicon from '../components/cv-icon'
|
||||
isBinaryNumber:{
|
||||
get(){
|
||||
return this.pipeline.isBinary ? 1:0
|
||||
},
|
||||
set(value){
|
||||
this.pipeline.isBinary = !!value;
|
||||
}
|
||||
},
|
||||
selectedComponent:{
|
||||
|
||||
Reference in New Issue
Block a user