bug fix for is binary in ui

This commit is contained in:
ori agranat
2019-10-17 22:31:51 +03:00
parent aaa9b98290
commit 188f6496aa
2 changed files with 4 additions and 2 deletions

View File

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

View File

@@ -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:{