mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
neutrino: fix scrollbar movement on selected last item
This effect is observable in moviebrowser.
Scrollbar don't move, if you selected the last item. This should fix this.
see also: http://www.dbox2-tuning.net/forum/viewtopic.php?p=379439#p379439
thx Gaucho316 for patch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1498 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 4732d30084
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-05-31 (Tue, 31 May 2011)
Origin message was:
------------------
*neutrino: fix scrollbar movement on selected last item
This effect is observable in moviebrowser.
Scrollbar don't move, if you selected the last item. This should fix this.
see also: http://www.dbox2-tuning.net/forum/viewtopic.php?p=379439#p379439
thx Gaucho316 for patch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1498 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -521,9 +521,7 @@ void CListFrame::scrollLineDown(const int lines)
|
||||
refreshLine(m_nSelectedLine);
|
||||
}
|
||||
} else {
|
||||
m_nCurrentPage = 0;
|
||||
m_nCurrentLine = m_nSelectedLine = 0;
|
||||
refreshList();
|
||||
setSelectedLine(0);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -546,9 +544,6 @@ void CListFrame::scrollLineUp(const int lines)
|
||||
refreshLine(m_nSelectedLine);
|
||||
}
|
||||
} else if(m_nSelectedLine == 0) {
|
||||
//m_nCurrentPage = m_nNrOfPages - 1;
|
||||
//m_nCurrentLine = m_nSelectedLine = m_nNrOfLines - 1;
|
||||
//refresh();
|
||||
setSelectedLine(m_nNrOfLines - 1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user