Skip to content

Commit

Permalink
fix visual transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Sep 22, 2023
1 parent c0a8cf0 commit a156d10
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ fun accountTokenVisualTransformation() = VisualTransformation {
offset + (offset - 1) / ACCOUNT_TOKEN_CHUNK_SIZE

override fun transformedToOriginal(offset: Int): Int =
offset - offset / ACCOUNT_TOKEN_CHUNK_SIZE
offset - (offset - 1) / (ACCOUNT_TOKEN_CHUNK_SIZE + 1)

}
)
}

0 comments on commit a156d10

Please sign in to comment.