Skip to content

Commit

Permalink
revert image scale
Browse files Browse the repository at this point in the history
  • Loading branch information
orca-adria committed May 10, 2024
1 parent 31f2d46 commit eb3dec9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ fun Style.addBitmapImage(imageId: String, bitmap: Bitmap, sdf: Boolean = false,
return this.addStyleImage(
imageId,
(1.0/((160.0/bitmap.density)) * scale).toFloat() ,
scale.toFloat(),
Image(bitmap.width, bitmap.height, byteBuffer.array().toImageData()),
sdf,
stretchX,
Expand Down

0 comments on commit eb3dec9

Please sign in to comment.