Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-html5-editor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d415d52
)
remove cursor when clicking on nothing
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 13 Mar 2016 18:04:32 +0000
(14:04 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sun, 13 Mar 2016 18:04:32 +0000
(14:04 -0400)
editor.coffee
patch
|
blob
|
history
diff --git
a/editor.coffee
b/editor.coffee
index
92fc1e0
..
7ef8e37
100644
(file)
--- a/
editor.coffee
+++ b/
editor.coffee
@@
-665,6
+665,8
@@
class PeachHTML5Editor
new_cursor = find_loc_cursor_position @tree, xy
if new_cursor?
@move_cursor new_cursor
+ else
+ @kill_cursor()
return false
ondoubleclick: (e) ->
return false