Mercurial > gemma
changeset 1095:2d6d8b676e3f
merge
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 30 Oct 2018 13:37:04 +0100 |
parents | 80b47f5d41c3 (diff) 31b36ef00784 (current diff) |
children | aa1f5daf6fc9 |
files | |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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() {