From 4728d38df09aa4f32d6d428b9c3a5ebe7ee2ee63 Mon Sep 17 00:00:00 2001 From: Preston Date: Sun, 1 Mar 2020 14:44:19 -0500 Subject: [PATCH] Re-add Rootstate to Vuex Action and adjust position of video duration --- src/renderer/store/modules/ytdl.js | 2 +- src/renderer/videoJS.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/store/modules/ytdl.js b/src/renderer/store/modules/ytdl.js index ae4819a5..6fd64144 100644 --- a/src/renderer/store/modules/ytdl.js +++ b/src/renderer/store/modules/ytdl.js @@ -16,7 +16,7 @@ const getters = { } const actions = { - ytSearch ({ commit, dispatch }, payload) { + ytSearch ({ commit, dispatch, rootState }, payload) { console.log('Performing search please wait...') return new Promise((resolve, reject) => { if (state.isYtSearchRunning) { diff --git a/src/renderer/videoJS.css b/src/renderer/videoJS.css index 94fc6ef1..c678e93c 100644 --- a/src/renderer/videoJS.css +++ b/src/renderer/videoJS.css @@ -1205,7 +1205,7 @@ body.vjs-full-window { .video-js .vjs-time-control { flex: none; font-size: 1em; - line-height: 4em; + line-height: 3.7em; min-width: 2em; width: auto; padding-left: 0em;