We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e91587b commit 69023b0Copy full SHA for 69023b0
1 file changed
app/src/main/java/me/rosuh/easywatermark/render/WatermarkRenderer.kt
@@ -202,7 +202,7 @@ object WatermarkRenderer {
202
// S3a: `textSize` is the icon scale ratio (textSize/14 ⇒ 14 = 1×), preserved from legacy.
203
// The old preview-matrix `imageInfo.scaleX` factor (applied only at export, `scale=true`) is
204
// REMOVED so preview and export size icons identically and independent of view scale (D2c).
205
- val scaleRatio = config.textSize / 14f
+ val scaleRatio = config.textSize / WatermarkCellComposer.ICON_SCALE_REFERENCE_TEXT_SIZE
206
207
val targetBitmap = Bitmap.createBitmap(
208
(finalWidth * scaleRatio).toInt(),
0 commit comments