Re-add Rootstate to Vuex Action and adjust position of video duration
This commit is contained in:
parent
77e7168c73
commit
4728d38df0
|
@ -16,7 +16,7 @@ const getters = {
|
||||||
}
|
}
|
||||||
|
|
||||||
const actions = {
|
const actions = {
|
||||||
ytSearch ({ commit, dispatch }, payload) {
|
ytSearch ({ commit, dispatch, rootState }, payload) {
|
||||||
console.log('Performing search please wait...')
|
console.log('Performing search please wait...')
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (state.isYtSearchRunning) {
|
if (state.isYtSearchRunning) {
|
||||||
|
|
|
@ -1205,7 +1205,7 @@ body.vjs-full-window {
|
||||||
.video-js .vjs-time-control {
|
.video-js .vjs-time-control {
|
||||||
flex: none;
|
flex: none;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
line-height: 4em;
|
line-height: 3.7em;
|
||||||
min-width: 2em;
|
min-width: 2em;
|
||||||
width: auto;
|
width: auto;
|
||||||
padding-left: 0em;
|
padding-left: 0em;
|
||||||
|
|
Loading…
Reference in New Issue