minor bugfixes to the ui

This commit is contained in:
ori agranat
2020-01-03 19:44:31 +02:00
parent 423cf2daf9
commit b10c9a3a1d
3 changed files with 8 additions and 11 deletions

View File

@@ -102,10 +102,10 @@
v-if="cameraList.length > 0"
:src="streamAddress" @click="onImageClick"
crossorigin="Anonymous"/>
<span v-else>No Cameras Are connected</span>
<span style="display: block;margin: auto; width: 70%;height: 70%;" v-else>No Cameras Are connected</span>
</v-row>
<v-row justify="end">
<span style="margin-right: 45px">FPS:{{fps.toFixed(2)}}</span>
<span style="margin-right: 45px">FPS:{{parseFloat(fps).toFixed(2)}}</span>
</v-row>
<v-row align="center">
<v-simple-table
@@ -252,11 +252,7 @@
this.pipelineDuplicate.camera = -1
}
// this.handleInput("duplicatePipeline", this.pipelineDuplicate);
this.axios.post("http://" + this.$address + "/api/vision/duplicate", this.pipelineDuplicate).then(
function (response) {
}
);
this.axios.post("http://" + this.$address + "/api/vision/duplicate", this.pipelineDuplicate);
this.closeDuplicateDialog();
},
openDuplicateDialog() {

View File

@@ -76,7 +76,6 @@
allow3D:{
get(){
let currentRes = this.$store.state.resolutionList[this.$store.state.pipeline.videoModeIndex];
console.log('change');
for (let res of this.$store.state.cameraSettings.calibration){
if (currentRes.width === res.width && currentRes.height === res.height){
return false;

View File

@@ -35,10 +35,12 @@
</v-btn>
</v-col>
<v-col>
<v-btn color="whitesmoke" small><a style="color: black; text-decoration: none"
:href="require('../../assets/chessboard.png')"
download="Calibration Board.png">Download Checkerboard</a>
<v-btn color="whitesmoke" small @click="$refs.calibrationFile.click()">
Download Checkerboard
</v-btn>
<a ref="calibrationFile" style="color: black; text-decoration: none; display: none"
:href="require('../../assets/chessboard.png')"
download="Calibration Board.png"/>
</v-col>
</v-row>
<v-row v-if="isCalibrating">