@glideapps/glide-data-grid
Advanced tools
Comparing version 3.1.3-alpha3 to 3.1.3-alpha4
@@ -98,5 +98,5 @@ import { degreesToRadians, direction } from "../common/utils"; | ||
export function getRowIndexForY(targetY, height, hasGroups, headerHeight, groupHeaderHeight, rows, rowHeight, cellYOffset, translateY, lastRowSticky) { | ||
const totalHeaderHeight = headerHeight + groupHeaderHeight; | ||
if (hasGroups && targetY <= groupHeaderHeight) return -2; | ||
if (targetY <= headerHeight) return -1; | ||
const totalHeaderHeight = headerHeight + groupHeaderHeight; | ||
if (targetY <= totalHeaderHeight) return -1; | ||
const lastRowHeight = typeof rowHeight === "number" ? rowHeight : rowHeight(rows - 1); | ||
@@ -103,0 +103,0 @@ |
{ | ||
"name": "@glideapps/glide-data-grid", | ||
"version": "3.1.3-alpha3", | ||
"version": "3.1.3-alpha4", | ||
"description": "Super fast, pure canvas Data Grid Editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/js/index.js", |
306281