1
0
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 
This commit is contained in:
chylex 2018-01-21 01:18:59 +01:00
parent c4b2b3ab25
commit 83741db5aa

View File

@ -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.
//