# HG changeset patch # User Thomas Junk # Date 1540903024 -3600 # Node ID 2d6d8b676e3f0e65df2d01459340fc08b50ccc5c # Parent 80b47f5d41c3652f993f00425ad9f7e2517a53cb# Parent 31b36ef007848b2a2f1ab0b03a3cbb037c026bfb merge diff -r 31b36ef00784 -r 2d6d8b676e3f client/src/application/Main.vue --- a/client/src/application/Main.vue Tue Oct 30 12:29:13 2018 +0100 +++ b/client/src/application/Main.vue Tue Oct 30 13:37:04 2018 +0100 @@ -43,8 +43,6 @@ import { mapGetters, mapState } from "vuex"; import debounce from "debounce"; -const DELTA = 0.2; - export default { name: "mainview", components: { @@ -90,6 +88,7 @@ return [this.yScaleLeft.lo, hi]; }, yAxisRight() { + const DELTA = this.maxAlt * 1.1 - this.maxAlt; return [this.maxAlt * 1 + DELTA, -DELTA]; }, margins() {