fix pattern test

This commit is contained in:
Henry Schimke
2023-04-24 17:49:04 -05:00
parent d08f67feed
commit 483539a194
5 changed files with 18 additions and 10 deletions

View File

@@ -163,7 +163,7 @@ impl<'a> PatternView<'a> {
// index is the number of bars and spaces from the first bar to the current position
pub fn index(&self) -> usize {
self.current - self.start /*return narrow_cast<int>(_data - _base) - 1;*/
self.current /*return narrow_cast<int>(_data - _base) - 1;*/
}
pub fn pixelsInFront(&self) -> PatternType {
self.data