Seek using the actual value (noob mistake -_- )

This commit is contained in:
Michael Becker 2014-06-13 09:11:28 -04:00
parent 98e32423a1
commit 2633f9c1b6

View File

@ -19,7 +19,7 @@ namespace UniversalEditor
public abstract long Length { get; set; }
private long mvarPosition = 0;
public virtual long Position { get { return mvarPosition; } set { Seek(mvarPosition, SeekOrigin.Begin); mvarPosition = value; } }
public virtual long Position { get { return mvarPosition; } set { Seek(value, SeekOrigin.Begin); mvarPosition = value; } }
public long Remaining
{