When navigating with the timeline, select the line in the center of the view
This commit is contained in:
parent
7032df7e73
commit
769a3d9d7c
@ -809,7 +809,10 @@ class TimelineFeature (FeatureBase):
|
|||||||
|
|
||||||
model = self.log_view.props.model
|
model = self.log_view.props.model
|
||||||
row = model[count]
|
row = model[count]
|
||||||
self.log_view.scroll_to_cell ((count,), use_align = True, row_align = .5)
|
path = (count,)
|
||||||
|
self.log_view.scroll_to_cell (path, use_align = True, row_align = .5)
|
||||||
|
sel = self.log_view.get_selection ()
|
||||||
|
sel.select_path (path)
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user