From c9b920cea600b5fbe84ad7ab0b279275243faacb Mon Sep 17 00:00:00 2001 From: RblSb Date: Mon, 1 Jan 2024 07:31:02 +0300 Subject: Flashback time per item, improve webm/webp support --- src/VideoList.hx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/VideoList.hx') 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 { return items[pos]; } -- cgit v1.2.3