actions: seek: fix incremental seeking so it doesn't reset aftet 30 seconds
This commit is contained in:
1
NEWS
1
NEWS
@@ -1,6 +1,7 @@
|
|||||||
ncmpcpp-0.6.2 (????-??-??)
|
ncmpcpp-0.6.2 (????-??-??)
|
||||||
|
|
||||||
* Delete key now aditionally binds by default to action that deletes files in browser.
|
* Delete key now aditionally binds by default to action that deletes files in browser.
|
||||||
|
* Fix incremental seeking so that it doesn't reset after 30 seconds.
|
||||||
|
|
||||||
ncmpcpp-0.6.1 (2014-11-06)
|
ncmpcpp-0.6.1 (2014-11-06)
|
||||||
|
|
||||||
|
|||||||
@@ -2732,7 +2732,7 @@ void seek()
|
|||||||
Status::trace();
|
Status::trace();
|
||||||
|
|
||||||
unsigned howmuch = Config.incremental_seeking
|
unsigned howmuch = Config.incremental_seeking
|
||||||
? (Timer-t).seconds()/2+Config.seek_time
|
? (Timer-t).total_seconds()/2+Config.seek_time
|
||||||
: Config.seek_time;
|
: Config.seek_time;
|
||||||
|
|
||||||
Key input = Key::read(*wFooter);
|
Key input = Key::read(*wFooter);
|
||||||
|
|||||||
Reference in New Issue
Block a user