Minor fix
* Fix selection error when use delete after to delete the last tas unit * Fix sel_rect display error * Add some documents * Fix layout becoming confusing when secondly open file.
This commit is contained in:
1 parent
0534b22501
commit
b506dafcbd
9 files changed
+72
-28
No files matched your search
@@ -38,7 +38,8 @@ namespace BallanceTASEditor.Core {
|
||||
}
|
||||
|
||||
public long GetPointerIndex() {
|
||||
if (mPointer == null) throw new Exception("Data is not ready");
|
||||
// return invalid data to prevent error
|
||||
if (mPointer == null) return -1;//throw new Exception("Data is not ready");
|
||||
return mPointerIndex;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user