✨ change QRMatrix::checkTypeNotIn() to checkTypeIn()

This commit is contained in:
smiley
2023-03-09 19:08:37 +01:00
parent d21ed9d8ed
commit 61128e4aec
9 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class RandomDotsSVGOutput extends QRMarkupSVG{
$M_TYPE_LAYER = $M_TYPE;
if($this->options->connectPaths
&& $this->matrix->checkTypeNotIn($x, $y, $this->options->excludeFromConnect)
&& !$this->matrix->checkTypeIn($x, $y, $this->options->excludeFromConnect)
){
// to connect paths we'll redeclare the $M_TYPE_LAYER to data only
$M_TYPE_LAYER = QRMatrix::M_DATA;