Skip to content
Snippets Groups Projects
Commit f19698dc authored by mcmlxxix's avatar mcmlxxix
Browse files

make home/end reset index to proper value

parent c6a32784
No related branches found
No related tags found
No related merge requests found
...@@ -245,6 +245,7 @@ function Graphic_end() ...@@ -245,6 +245,7 @@ function Graphic_end()
this.data[x].push(this.future[x].shift()); this.data[x].push(this.future[x].shift());
} }
} }
this.index=this.length;
} }
function Graphic_pgup() function Graphic_pgup()
{ {
...@@ -276,6 +277,7 @@ function Graphic_home() ...@@ -276,6 +277,7 @@ function Graphic_home()
this.data[x].unshift(this.past[x].pop()); this.data[x].unshift(this.past[x].pop());
} }
} }
this.index=1;
} }
function Graphic_scroll(dir,loop) function Graphic_scroll(dir,loop)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment