diff options
| author | RblSb <msrblsb@gmail.com> | 2024-01-01 07:31:02 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2024-01-01 07:31:02 +0300 |
| commit | c9b920cea600b5fbe84ad7ab0b279275243faacb (patch) | |
| tree | fada67761c471fc461402135a8688e7961d08de7 /src/VideoList.hx | |
| parent | 0d1fd0f960a64252638eb94f079c0e7747792b95 (diff) | |
Flashback time per item, improve webm/webp support
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]; } |
