fix measure points
This commit is contained in:
+2
-2
@@ -60,11 +60,11 @@ export default class ThermoModal extends Vue {
|
||||
|
||||
await warmersService.SetMeasurePoints(x, y);
|
||||
this.measurePoints.push({ x, y, temperature: 0 })
|
||||
this.reloadMeasuresDelayed();
|
||||
this.reloadMeasuresDelayed(this.images[this.selectedImage]);
|
||||
}
|
||||
|
||||
@Watch("selectedImage")
|
||||
reloadMeasuresDelayed = debounce(async () => this.measurePoints = await warmersService.GetMeasurePoints(this.images[this.selectedImage]), 500);
|
||||
reloadMeasuresDelayed = debounce(async (image) => this.measurePoints = await warmersService.GetMeasurePoints(image), 500);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user