mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 16:53:58 +00:00
removed unused code
This commit is contained in:
@@ -344,9 +344,6 @@ export default function DataGridCore(props) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleGridWheel(event) {
|
function handleGridWheel(event) {
|
||||||
console.log('WHEEL', event, event.deltaY);
|
|
||||||
|
|
||||||
// let delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail)));
|
|
||||||
let newFirstVisibleRowScrollIndex = firstVisibleRowScrollIndex;
|
let newFirstVisibleRowScrollIndex = firstVisibleRowScrollIndex;
|
||||||
if (event.deltaY > 0) {
|
if (event.deltaY > 0) {
|
||||||
newFirstVisibleRowScrollIndex += wheelRowCount;
|
newFirstVisibleRowScrollIndex += wheelRowCount;
|
||||||
|
|||||||
Reference in New Issue
Block a user