Skip to content

Commit

Permalink
Radial gradients added v1.1.1
Browse files Browse the repository at this point in the history
#5 fix
  • Loading branch information
14v committed Dec 12, 2021
1 parent 7bfe2c8 commit ddec9b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = ""
version = "1.1.0"
version = "1.1.1"

application {
mainClassName = "NonStopKt"
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/NonStop.kt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ object NonStop {
return this.attributes.getNamedItem(attrName)?.nodeValue
}

private fun Node.isGradient(): Boolean = nodeName == "linearGradient"
private fun Node.isGradient(): Boolean = nodeName == "linearGradient" || nodeName == "radialGradient"

private fun logv(message: String) {
if (optionVerbose) println(message)
Expand Down

0 comments on commit ddec9b9

Please sign in to comment.