timeline: fix timestamp binary search
authorRené Stadler <mail@renestadler.de>
Fri, 12 Jun 2009 21:58:36 +0000 (00:58 +0300)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:45 +0000 (20:51 +0200)
commit7b57fe2423bd9e0c35949f80aead94bc6a6f8ccd
tree3c5a66c29405c541862aacd55c6bea482dd56082
parent3a90836f8235ef516038847e323822dedc6420c8
timeline: fix timestamp binary search

Fixes dragging the mouse over bigger gaps of log activity making the red
position rectangle come out next to the mouse pointer. Also selects the proper
row now, not randomly 1-2 rows before or after the gap.
debug-viewer/GstDebugViewer/Plugins/Timeline.py