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