Fix mouse scrolling.
- Missed rename of _column to _entries.
This commit is contained in:
parent
73fa8d4eaf
commit
e06c53d3df
2 changed files with 3 additions and 3 deletions
|
|
@ -941,9 +941,9 @@ class Screen:
|
|||
view_x, view_y = self._summary._view_widget.portal.position
|
||||
column_index = x - border_width + view_x
|
||||
row_index = y - border_width + view_y
|
||||
if row_index >= len(self._summary._column):
|
||||
if row_index >= len(self._summary._entries):
|
||||
return
|
||||
row = self._summary._column[row_index]
|
||||
row = self._summary._entries[row_index]
|
||||
if column_index < 0 or column_index >= len(row):
|
||||
return
|
||||
self._summary._cursor_position = column_index, row_index
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ def main():
|
|||
screen = pickle.load(file_)
|
||||
summary_page = make_summary_page(project_name, screen._summary)
|
||||
index = {}
|
||||
for row in screen._summary._column:
|
||||
for row in screen._summary._entries:
|
||||
for result in row:
|
||||
index[(result.path[2:], result.tool.__name__)] = result.result
|
||||
run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue