projects
/
WebThing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix scrolling functionality
[WebThing.git]
/
plugins
/
Vimish.cs
diff --git
a/plugins/Vimish.cs
b/plugins/Vimish.cs
index
51c2cfc
..
22f2532
100644
(file)
--- a/
plugins/Vimish.cs
+++ b/
plugins/Vimish.cs
@@
-66,16
+66,16
@@
public class Vimish : WebThingPlugin {
if (e.Event.State == Gdk.ModifierType.None) {
switch(e.Event.Key) {
case Gdk.Key.j:
if (e.Event.State == Gdk.ModifierType.None) {
switch(e.Event.Key) {
case Gdk.Key.j:
- wt.
ScrolledWindow.Vadjustment.Value += wt.ScrolledWindow.Vadjustment.StepIncrement
;
+ wt.
Bump(0, 1)
;
break;
case Gdk.Key.k:
break;
case Gdk.Key.k:
- wt.
ScrolledWindow.Vadjustment.Value -= wt.ScrolledWindow.Vadjustment.StepIncrement
;
+ wt.
Bump(0, -1)
;
break;
case Gdk.Key.l:
break;
case Gdk.Key.l:
- wt.
ScrolledWindow.Hadjustment.Value += wt.ScrolledWindow.Hadjustment.StepIncrement
;
+ wt.
Bump(1, 0)
;
break;
case Gdk.Key.h:
break;
case Gdk.Key.h:
- wt.
ScrolledWindow.Hadjustment.Value -= wt.ScrolledWindow.Hadjustment.StepIncrement
;
+ wt.
Bump(-1, 0)
;
break;
case Gdk.Key.r:
wv.Reload();
break;
case Gdk.Key.r:
wv.Reload();