mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-01 19:32:26 +01:00
Make <C-f>/<C-b> in caret mode not behave completely insanely.
This commit is contained in:
@@ -505,9 +505,7 @@ var Buffer = Module("Buffer", {
|
||||
|
||||
if (sel.rangeCount) {
|
||||
var range = sel.getRangeAt(0);
|
||||
|
||||
let vis = visible(range);
|
||||
if (vis.width > 0 && vis.height > 0)
|
||||
if (visible(range).height > 0)
|
||||
return;
|
||||
|
||||
var { rect } = DOM(range);
|
||||
|
||||
Reference in New Issue
Block a user