mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-03 03:01:40 +00:00
moved components to the right folder
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div>
|
||||
<v-row align="center" justify="start">
|
||||
<v-col style="padding-right:0" :cols="3">
|
||||
<v-btn small color="#4baf62" @click="takePoint">Take Point</v-btn>
|
||||
</v-col>
|
||||
<v-col>
|
||||
<v-btn small @click="clearPoint" color="yellow darken-3">Clear Point</v-btn>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "SingleCalibration",
|
||||
props: ['rawPoint'],
|
||||
methods:{
|
||||
clearPoint(){
|
||||
this.handleInput('point',[0,0]);
|
||||
},
|
||||
takePoint(){
|
||||
this.handleInput('point',this.rawPoint);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user