mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-29 02:21:41 +00:00
minor bugfixes to the ui
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user