diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-10-19 18:54:53 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-10-19 18:54:53 +1100 |
| commit | 8985843a16df94729fb5c264ee60cc29471aaf1c (patch) | |
| tree | 9051825aaa557d258109dbe0cf7a4568e601a79f /src/App.vue | |
| parent | 4f56fa40db652f5f7b3e42f5a1a4905c0b3787ea (diff) | |
Place event labels above image
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue index 84ad16b..442d3cb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -84,7 +84,7 @@ function onTimelineChg(state: TimelineState, idx: number){ } // For timeline addition/removal -const MIN_TIMELINE_BREADTH = 80 + 10 * 2 + 100; // TODO: Link with constants in components/TimeLine.vue +const MIN_TIMELINE_BREADTH = 80 + 10 * 2 + 115; // TODO: Link with constants in components/TimeLine.vue function onTimelineAdd(){ if (vert.value && contentWidth.value / (timelines.value.length + 1) < MIN_TIMELINE_BREADTH || !vert.value && contentHeight.value / (timelines.value.length + 1) < MIN_TIMELINE_BREADTH){ |
