scroll fix
This commit is contained in:
parent
ce1eb5e586
commit
d0e387df0e
@ -80,7 +80,7 @@ Template.classesMode.rendered = function() {
|
|||||||
|
|
||||||
area.on({
|
area.on({
|
||||||
'mousemove': function(e) {
|
'mousemove': function(e) {
|
||||||
if(clicked) area.scrollLeft(area.scrollLeft() + (clickX - e.pageX)/25);
|
if(clicked && !dragging) area.scrollLeft(area.scrollLeft() + (clickX - e.pageX)/50);
|
||||||
},
|
},
|
||||||
'mousedown': function(e) {
|
'mousedown': function(e) {
|
||||||
clicked = true;
|
clicked = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user