# HG changeset patch # User Thomas Junk # Date 1540553386 -7200 # Node ID e99b2b7d76a15c4faffd6b6508d5fd39d62fec01 # Parent c1989ebe1d8afcef307b41ebe5694d066ea7fc7e feat: fairwayprofile configurable scale-delta for profile added diff -r c1989ebe1d8a -r e99b2b7d76a1 client/src/application/Main.vue --- a/client/src/application/Main.vue Fri Oct 26 13:21:17 2018 +0200 +++ b/client/src/application/Main.vue Fri Oct 26 13:29:46 2018 +0200 @@ -43,6 +43,8 @@ import { mapGetters, mapState } from "vuex"; import debounce from "debounce"; +const DELTA = 0.2; + export default { name: "mainview", components: { @@ -88,7 +90,7 @@ return [this.yScaleLeft.lo, hi]; }, yAxisRight() { - return [this.maxAlt, -0.2]; + return [this.maxAlt * 1 + DELTA, -DELTA]; }, margins() { return this.margin;