From daae3368e48e31690f5487ee924753d1036c898a Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 15 Jul 2009 16:29:20 +0200 Subject: only descend 1 dir when using right mouse on first row i think thats more intuitive --- code/keys.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/keys.rb b/code/keys.rb index 5876df6b..cef8d597 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -495,10 +495,11 @@ module Fm case mouse.x when ranges[0] - descend descend if mouse.click3? @pwd.pos = get_offset( @path[-1], lines ) + mouse.y - 1 + else + descend end when ranges[1] descend -- cgit 1.4.1-2-gfad0