Fixed a bug in scrolling.
This commit is contained in:
parent
5a8bca84df
commit
547983819d
2 changed files with 3 additions and 3 deletions
4
BUGS
4
BUGS
|
|
@ -8,8 +8,6 @@ Current
|
||||||
the timed out status when un-paused.
|
the timed out status when un-paused.
|
||||||
- Tmp files are being left behind after shutdown.
|
- Tmp files are being left behind after shutdown.
|
||||||
- All tools in AppImages aren't working correctly. See ./vigil --self_test
|
- All tools in AppImages aren't working correctly. See ./vigil --self_test
|
||||||
- When the cursor is at the top of the summary, and it is moved up, there
|
|
||||||
is a glitch in the scrolling.
|
|
||||||
|
|
||||||
|
|
||||||
Current (tool related)
|
Current (tool related)
|
||||||
|
|
@ -248,6 +246,8 @@ Fixed
|
||||||
- gcc is not working inside the sandbox.
|
- gcc is not working inside the sandbox.
|
||||||
<- Let /dev/null through the sandbox.
|
<- Let /dev/null through the sandbox.
|
||||||
- There is no color in lxterminal, only shades of grey.
|
- There is no color in lxterminal, only shades of grey.
|
||||||
|
- When the cursor is at the top of the summary, and it is moved up, there
|
||||||
|
is a glitch in the scrolling.
|
||||||
|
|
||||||
|
|
||||||
Won't fix
|
Won't fix
|
||||||
|
|
|
||||||
|
|
@ -316,7 +316,7 @@ class Summary:
|
||||||
scroll_x, scroll_y = new_scroll_x, new_scroll_y = \
|
scroll_x, scroll_y = new_scroll_x, new_scroll_y = \
|
||||||
self._view_widget.position
|
self._view_widget.position
|
||||||
if cursor_y < scroll_y:
|
if cursor_y < scroll_y:
|
||||||
new_scroll_y = max(cursor_y - summary_height, 0)
|
new_scroll_y = max(cursor_y - summary_height + 1, 0)
|
||||||
if (scroll_y + summary_height - 1) < cursor_y:
|
if (scroll_y + summary_height - 1) < cursor_y:
|
||||||
new_scroll_y = cursor_y
|
new_scroll_y = cursor_y
|
||||||
self._view_widget.position = new_scroll_x, new_scroll_y
|
self._view_widget.position = new_scroll_x, new_scroll_y
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue