@replit/codemirror-interact
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -170,2 +170,7 @@ import { Decoration, EditorView, ViewPlugin } from '@codemirror/view'; | ||
}, | ||
mouseleave(e, view) { | ||
this.hovering = null; | ||
this.dragging = null; | ||
this.unhighlight(); | ||
}, | ||
keydown(e, view) { | ||
@@ -172,0 +177,0 @@ if (!this.isModKeyDown(e)) |
{ | ||
"name": "@replit/codemirror-interact", | ||
"description": "Interact with custom values", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"license": "MIT", | ||
@@ -30,3 +30,3 @@ "author": { | ||
"@codemirror/state": "^6.0.0", | ||
"@codemirror/view": "6.0.0" | ||
"@codemirror/view": "^6.0.0" | ||
}, | ||
@@ -38,4 +38,4 @@ "devDependencies": { | ||
"codemirror": "^6.0.0", | ||
"vite": "^2.7.4" | ||
"vite": "^3.0.0" | ||
} | ||
} |
@@ -232,2 +232,8 @@ // TODO: don't use document.style.cursor | ||
mouseleave(e, view) { | ||
this.hovering = null; | ||
this.dragging = null; | ||
this.unhighlight(); | ||
}, | ||
keydown(e, view) { | ||
@@ -234,0 +240,0 @@ if (!this.isModKeyDown(e)) return; |
Sorry, the diff of this file is not supported yet
22724
670