mirror of https://github.com/ColorlibHQ/gentelella
fixed sidebar menu mousewheel speed
parent
d04162d338
commit
605f82b6cb
|
@ -44,6 +44,7 @@
|
||||||
|
|
||||||
|
|
||||||
/* SIDEBAR */
|
/* SIDEBAR */
|
||||||
|
|
||||||
// fix for dynamic tables
|
// fix for dynamic tables
|
||||||
function setContentHeight() {
|
function setContentHeight() {
|
||||||
var CURRENT_URL = window.location.href.split("#")[0].split("?")[0],
|
var CURRENT_URL = window.location.href.split("#")[0].split("?")[0],
|
||||||
|
@ -209,7 +210,11 @@ $(document).ready(function () {
|
||||||
$('.menu_fixed').mCustomScrollbar({
|
$('.menu_fixed').mCustomScrollbar({
|
||||||
autoHideScrollbar: true,
|
autoHideScrollbar: true,
|
||||||
theme: 'minimal',
|
theme: 'minimal',
|
||||||
mouseWheel: {preventDefault: true}
|
scrollInertia: 600,
|
||||||
|
mouseWheel: {
|
||||||
|
preventDefault: true,
|
||||||
|
scrollAmount: 100
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue