mirror of https://github.com/node-red/node-red.git
Reverse direction of tab scroll to expected direction
parent
43e4d09f72
commit
dec3164fdd
|
|
@ -183,7 +183,7 @@ RED.tabs = (function() {
|
|||
// Assume this is wheel event which might not trigger
|
||||
// the scroll event, so do things manually
|
||||
var sl = scrollContainer.scrollLeft();
|
||||
sl -= evt.originalEvent.deltaY;
|
||||
sl += evt.originalEvent.deltaY;
|
||||
scrollContainer.scrollLeft(sl);
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue