Enlarge height to get full estonia

This commit is contained in:
Guntis Smaukstelis
2025-07-11 00:00:11 +03:00
parent 6851c44779
commit 552110f6f0
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -22,6 +22,7 @@ export const DrawView: Component<{
createEffect(async () => {
setIsLoading(true)
const canvas = getCanvas()!
canvas.style.width = '100%'
const ctx = canvas.getContext('2d')!
ctx.clearRect(0, 0, canvas.width, canvas.height)
const cropBounds = options.getIsCrop() ? CROP_BOUNDS : undefined