mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-14 12:15:48 +02:00
Fix broken smooth & horizontal scrolling with cursor above columns
Closes #192
This commit is contained in:
parent
c4b2b3ab25
commit
83741db5aa
@ -1278,6 +1278,15 @@
|
||||
};
|
||||
}
|
||||
|
||||
//
|
||||
// Block: Remove column mouse wheel handler, which allows smooth scrolling inside columns, and horizontally scrolling column container when holding Shift.
|
||||
//
|
||||
if (ensurePropertyExists(TD, "ui", "columns", "setupColumn")){
|
||||
TD.ui.columns.setupColumn = appendToFunction(TD.ui.columns.setupColumn, function(e){
|
||||
$(".js-column[data-column='"+e.model.getKey()+"']").off("mousewheel onmousewheel");
|
||||
});
|
||||
}
|
||||
|
||||
//
|
||||
// Block: Detect and notify about connection issues.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user