close #397
This commit is contained in:
1 parent
2f08667db8
commit
0cdd558e5d
12 files changed
+210
-30
No files matched your search
@@ -76,10 +76,8 @@ namespace HandyControl.Data
|
||||
{
|
||||
FrameCount = 1;
|
||||
}
|
||||
if (_frameDelay == null)
|
||||
{
|
||||
_frameDelay = new int[FrameCount];
|
||||
}
|
||||
|
||||
_frameDelay ??= new int[FrameCount];
|
||||
}
|
||||
|
||||
public int FrameDelay(int frame) => _frameDelay[frame];
|
||||
|
||||
Reference in new issue
Block a user