From ac2b9acccb14c6bced52fda675ee912e18ba181d Mon Sep 17 00:00:00 2001 From: Andrew Henry Date: Fri, 25 Jan 2019 13:40:46 -0800 Subject: [PATCH] Time conductor validation (#2273) * Fixed validation issues for bounds * Validate offsets correctly * Reset validation on mode change * Use toggle mixin for Conductor menus --- src/plugins/timeConductor/Conductor.vue | 142 ++++++++++++------ src/plugins/timeConductor/ConductorMode.vue | 22 +-- .../timeConductor/ConductorTimeSystem.vue | 20 +-- src/plugins/timeConductor/DatePicker.vue | 27 +--- .../components => mixins}/toggle-mixin.js | 0 .../components/toolbar-color-picker.vue | 2 +- src/ui/toolbar/components/toolbar-menu.vue | 2 +- .../components/toolbar-select-menu.vue | 2 +- 8 files changed, 118 insertions(+), 99 deletions(-) rename src/ui/{toolbar/components => mixins}/toggle-mixin.js (100%) diff --git a/src/plugins/timeConductor/Conductor.vue b/src/plugins/timeConductor/Conductor.vue index 99872eb930..222ec14ca7 100644 --- a/src/plugins/timeConductor/Conductor.vue +++ b/src/plugins/timeConductor/Conductor.vue @@ -22,9 +22,8 @@