2019-10-26 23:41:45 +03:00
|
|
|
<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",
|
2019-10-28 20:16:18 +02:00
|
|
|
props: ['rawPoint'],
|
2019-10-29 23:58:06 +02:00
|
|
|
methods: {
|
|
|
|
|
clearPoint() {
|
|
|
|
|
this.handleInput('point', [0, 0]);
|
|
|
|
|
this.$emit('update');
|
2019-10-26 23:41:45 +03:00
|
|
|
},
|
2019-10-29 23:58:06 +02:00
|
|
|
takePoint() {
|
|
|
|
|
this.handleInput('point', this.rawPoint);
|
|
|
|
|
this.$emit('update');
|
2019-10-26 23:41:45 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
|
|
</style>
|