Skip to content

Commit

Permalink
Merge pull request #36 from Skeptick/rc/release-1.2.0
Browse files Browse the repository at this point in the history
Release 1.2.0
  • Loading branch information
Skeptick authored Oct 27, 2023
2 parents 1c245a8 + 8079bf6 commit 5a01951
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Resources generation in Kotlin Multiplatform.

buildscript {
dependencies {
classpath("io.github.skeptick.libres:gradle-plugin:1.2.0-beta01")
classpath("io.github.skeptick.libres:gradle-plugin:1.2.0")
}
}
```
Expand Down Expand Up @@ -37,7 +37,7 @@ libres {
kotlin {
commonMain {
dependencies {
implementation("io.github.skeptick.libres:libres-compose:1.2.0-beta01")
implementation("io.github.skeptick.libres:libres-compose:1.2.0")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android.disableAutomaticComponentCreation=true
kotlin.mpp.androidSourceSetLayoutVersion=2

GROUP=io.github.skeptick.libres
VERSION_NAME=1.2.0-beta01
VERSION_NAME=1.2.0

SONATYPE_HOST=S01

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ internal fun LibresImage.toSkiaImage(size: IntSize = intSize): SkiaImage = memSc
bitsPerComponent = bytesPerComponent,
bytesPerRow = bytesPerRow,
space = CGColorSpaceCreateDeviceRGB(),
bitmapInfo = CGImageGetAlphaInfo(imageRef).value
bitmapInfo = CGImageGetBitmapInfo(imageRef)
)
CGContextDrawImage(context, size.toCGRect(), imageRef)
CGContextRelease(context)
Expand Down

0 comments on commit 5a01951

Please sign in to comment.