aboutsummaryrefslogtreecommitdiffstats
path: root/src/VideoList.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/VideoList.hx')
-rw-r--r--src/VideoList.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VideoList.hx b/src/VideoList.hx
index 094d2ab..b677060 100644
--- a/src/VideoList.hx
+++ b/src/VideoList.hx
@@ -17,13 +17,13 @@ class VideoList {
return items.length;
}
- public var currentItem(get, never):VideoItem;
+ public var currentItem(get, never):Null<VideoItem>;
inline function get_currentItem():Null<VideoItem> {
return items[pos];
}
- public inline function getItem(i:Int):VideoItem {
+ public inline function getItem(i:Int):Null<VideoItem> {
return items[i];
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage