Remove useless definitions
This commit is contained in:
parent
8e12944b02
commit
b99b063219
1 changed files with 0 additions and 10 deletions
|
@ -281,13 +281,3 @@ register_user_stylesheet(
|
||||||
oni_add_sheet("github.css");
|
oni_add_sheet("github.css");
|
||||||
oni_add_sheet("help.css");
|
oni_add_sheet("help.css");
|
||||||
oni_add_sheet("git-scm.css");
|
oni_add_sheet("git-scm.css");
|
||||||
|
|
||||||
// Overwrite built-in one
|
|
||||||
function scroll_horiz_complete (buffer, n, y) {
|
|
||||||
var w = buffer.focused_frame;
|
|
||||||
w.scrollTo (n > 0 ? w.scrollMaxX : 0, y == null ? w.scrollY : y);
|
|
||||||
}
|
|
||||||
|
|
||||||
interactive("scroll-top-left",
|
|
||||||
"Scroll the current frame all the way to the top left",
|
|
||||||
function (I) { scroll_horiz_complete(I.buffer, -1, 0); });
|
|
||||||
|
|
Loading…
Reference in a new issue