diff options
Diffstat (limited to 'source/ui/ListView.mc')
| -rw-r--r-- | source/ui/ListView.mc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/ui/ListView.mc b/source/ui/ListView.mc index 94b8c99..de73cce 100644 --- a/source/ui/ListView.mc +++ b/source/ui/ListView.mc @@ -82,9 +82,15 @@ class ListView extends WatchUi.View { return; } focus = ((focus + delta) % n + n) % n; + Diag.data("list_move", "focus=" + focus); WatchUi.requestUpdate(); } + // The height of a row as last drawn (for drags). + function rowHeight() as Number { + return _rowHeight; + } + function focusedId() as String? { return focus < _ids.size() ? _ids[focus] : null; } |
