:octocat: QRMatrix: remove property getters in favor of asymmetric visibility

This commit is contained in:
smiley
2026-03-18 01:19:14 +01:00
parent 8bb5a85d7b
commit 88b2f9a98c
25 changed files with 68 additions and 105 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class QRImageWithLogo extends QRGdImagePNG{
$lh = (($this->options->logoSpaceHeight - 2) * $this->options->scale);
// get the qrcode size
$ql = ($this->matrix->getSize() * $this->options->scale);
$ql = ($this->matrix->moduleCount * $this->options->scale);
// scale the logo and copy it over. done!
imagecopyresampled($this->image, $im, (($ql - $lw) / 2), (($ql - $lh) / 2), 0, 0, $lw, $lh, $w, $h);