mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-17 15:53:59 +00:00
Fix readability of first line of changes
This commit is contained in:
parent
6f085ffa6d
commit
b2262d9bff
|
@ -100,7 +100,7 @@ const paint = async (
|
||||||
return `${player}${tile.baseCode}${miscCode}`
|
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)
|
const slicedDiffs = diffs.slice(0, maxLinesOnNotes - 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user