Skip to content

BUG? Channels with 0 will fallback to red value #2

@krister-ts

Description

@krister-ts
        const g = normalizeValue(typedBuffer[j + 1] || r, datatype, typeSize, maxV, minV);
        const b = normalizeValue(typedBuffer[j + 2] || r, datatype, typeSize, maxV, minV);

These fallbacks in panel.js cause problems rendering colors when a channel has value of zero. Could this be removed or changed to only fallback when green and blue are both zero??

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions