Fix readability of first line of changes

This commit is contained in:
Gunter Labes 2025-03-10 23:19:24 +01:00
parent 6f085ffa6d
commit b2262d9bff
No known key found for this signature in database
GPG Key ID: C0C7B971CC910216

View File

@ -100,7 +100,7 @@ const paint = async (
return `${player}${tile.baseCode}${miscCode}`
}
const getLineY = (line: number) => (diffImageHeight - slicedDiffs.length * 36) + (line - 1) * 36
const getLineY = (line: number) => (diffImageHeight - slicedDiffs.length * 36) + line * 36
const slicedDiffs = diffs.slice(0, maxLinesOnNotes - 1)