Skip to content

Purpose of updatePaintColorByZValue in android barcode-scanner  #1917

Open
@ahirner

Description

@ahirner

I was wondering about the intent of updatePaintColorByZValue(..zInImagePixel) since any value leads to the same outcome:

if (zInScreenPixel < 0) {
paint.setARGB(0, 0, 255, 0)
} else {
paint.setARGB(0, 0, 255, 0)
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions