From f01cf0fbe00cc9c6eb7d9a5f7d5a3b2819e37d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Mon, 12 Sep 2022 23:49:06 +0000 Subject: [PATCH] private getter --- ui/src/components/TickerBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/TickerBar.vue b/ui/src/components/TickerBar.vue index da29358..3cd05d5 100644 --- a/ui/src/components/TickerBar.vue +++ b/ui/src/components/TickerBar.vue @@ -18,7 +18,7 @@ export default class TickerBar extends Vue { @Prop({ required: true }) private readonly content!: string; - get marqueeDuration(): string { + private get marqueeDuration(): string { // 10 seconds + another second per 7 chars let dv = this.content ? Math.round(this.content.length / 7) : 0; return 10 + dv + "s";