aboutsummaryrefslogtreecommitdiffstats
path: root/src/VideoList.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2024-01-01 07:31:02 +0300
committerRblSb <msrblsb@gmail.com>2024-01-01 07:31:02 +0300
commitc9b920cea600b5fbe84ad7ab0b279275243faacb (patch)
treefada67761c471fc461402135a8688e7961d08de7 /src/VideoList.hx
parent0d1fd0f960a64252638eb94f079c0e7747792b95 (diff)
Flashback time per item, improve webm/webp support
Diffstat (limited to 'src/VideoList.hx')
-rw-r--r--src/VideoList.hx4
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];
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage