mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
bugfix
This commit is contained in:
@@ -128,6 +128,7 @@ function planeswalkerAbilityLines() {
|
|||||||
}
|
}
|
||||||
abilityLineY += abilityLines[i]
|
abilityLineY += abilityLines[i]
|
||||||
}
|
}
|
||||||
|
abilityLineContext.clearRect(0, 0, 93, cardHeight)
|
||||||
abilityLineContext.drawImage(savedFrameMask, 0, 0, cardWidth, cardHeight)
|
abilityLineContext.drawImage(savedFrameMask, 0, 0, cardWidth, cardHeight)
|
||||||
imgFrameMask.src = abilityLineCanvas.toDataURL()
|
imgFrameMask.src = abilityLineCanvas.toDataURL()
|
||||||
imgFrameMask.hasToLoad = true
|
imgFrameMask.hasToLoad = true
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
@@ -128,6 +128,7 @@ function planeswalkerAbilityLines() {
|
|||||||
}
|
}
|
||||||
abilityLineY += abilityLines[i]
|
abilityLineY += abilityLines[i]
|
||||||
}
|
}
|
||||||
|
abilityLineContext.clearRect(0, 0, 93, cardHeight)
|
||||||
abilityLineContext.drawImage(savedFrameMask, 0, 0, cardWidth, cardHeight)
|
abilityLineContext.drawImage(savedFrameMask, 0, 0, cardWidth, cardHeight)
|
||||||
imgFrameMask.src = abilityLineCanvas.toDataURL()
|
imgFrameMask.src = abilityLineCanvas.toDataURL()
|
||||||
imgFrameMask.hasToLoad = true
|
imgFrameMask.hasToLoad = true
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
@@ -298,6 +298,7 @@ function createBorder() {
|
|||||||
border.mask("imgMultiGradient,source-over;imgFrameMask,source-out", imgBorderColor)
|
border.mask("imgMultiGradient,source-over;imgFrameMask,source-out", imgBorderColor)
|
||||||
} else {
|
} else {
|
||||||
border.mask("imgFrameMask,source-over", imgBorderColor)
|
border.mask("imgFrameMask,source-over", imgBorderColor)
|
||||||
|
// border.mask("imgMultiGradient,source-over;imgFrameMask,source-out", imgBorderColor)
|
||||||
}
|
}
|
||||||
if (secondColor == true && secondBorder == true) {
|
if (secondColor == true && secondBorder == true) {
|
||||||
border.mask("imgMultiGradient,source-over;imgFrameMask,source-in", imgSecondBorderColor)
|
border.mask("imgMultiGradient,source-over;imgFrameMask,source-in", imgSecondBorderColor)
|
||||||
|
Reference in New Issue
Block a user