mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-08 08:37:38 +03:00
Compare commits
1 Commits
1c63440a27
...
3e3cf89c27
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e3cf89c27 |
@ -94,8 +94,9 @@ void FontSelectionActivity::render() const {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < (int)fontFamilies.size(); i++) {
|
for (int i = 0; i < itemsPerPage; i++) {
|
||||||
int idx = scrollOffset + i;
|
int idx = scrollOffset + i;
|
||||||
|
if (idx >= (int)fontFamilies.size()) break;
|
||||||
|
|
||||||
// Draw selection box
|
// Draw selection box
|
||||||
if (idx == selectedIndex) {
|
if (idx == selectedIndex) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user