@codemirror/lint
Advanced tools
Comparing version 0.19.5 to 0.19.6
@@ -0,1 +1,7 @@ | ||
## 0.19.6 (2022-03-04) | ||
### Bug fixes | ||
Fix a bug where hovering over the icons in the lint gutter would sometimes fail to show a tooltip or show the tooltip for another line. | ||
## 0.19.5 (2022-02-25) | ||
@@ -2,0 +8,0 @@ |
@@ -606,3 +606,3 @@ import { Decoration, EditorView, ViewPlugin, logException, WidgetType } from '@codemirror/view'; | ||
function hovered() { | ||
let line = view.visualLineAtHeight(marker.getBoundingClientRect().top + 5 - view.documentTop); | ||
let line = view.elementAtHeight(marker.getBoundingClientRect().top + 5 - view.documentTop); | ||
const linePos = view.coordsAtPos(line.from); | ||
@@ -609,0 +609,0 @@ if (linePos) { |
{ | ||
"name": "@codemirror/lint", | ||
"version": "0.19.5", | ||
"version": "0.19.6", | ||
"description": "Linting support for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63990