Made MusicRow scrollbar hidden
parent
e22155b870
commit
fc3eaba39c
|
|
@ -36,4 +36,6 @@ section.music-row
|
||||||
overflow: visible !important
|
overflow: visible !important
|
||||||
.scroll-content
|
.scroll-content
|
||||||
display: flex
|
display: flex
|
||||||
|
.scrollbar-thumb,.scrollbar-track
|
||||||
|
display: none !important
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ import Scrollbar from 'smooth-scrollbar'
|
||||||
export default class HorizontalScrollPlugin extends Scrollbar.ScrollbarPlugin {
|
export default class HorizontalScrollPlugin extends Scrollbar.ScrollbarPlugin {
|
||||||
static pluginName = 'horizontalScroll';
|
static pluginName = 'horizontalScroll';
|
||||||
transformDelta (delta, fromEvent) {
|
transformDelta (delta, fromEvent) {
|
||||||
|
console.log(fromEvent.type)
|
||||||
if (!/wheel/.test(fromEvent.type)) {
|
if (!/wheel/.test(fromEvent.type)) {
|
||||||
return delta
|
return delta
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue