diff options
Diffstat (limited to 'src/VideoList.hx')
| -rw-r--r-- | src/VideoList.hx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/VideoList.hx b/src/VideoList.hx index 2ed1d8f..094d2ab 100644 --- a/src/VideoList.hx +++ b/src/VideoList.hx @@ -17,7 +17,9 @@ class VideoList { return items.length; } - public inline function getCurrentItem():VideoItem { + public var currentItem(get, never):VideoItem; + + inline function get_currentItem():Null<VideoItem> { return items[pos]; } |
