Skip to content

UI / worker image mismatch with settings #15

Description

@robin-raymond

When I'd switch from multi to hires I'd see these asserts and 'array length mismatch' happen, so I dug into the code. The issue is that the canvas and the UI get out of sync and when the target system changes the image in the dithertron is the old image while the settings is set to the new setting. This causes the logic that grabs the image width/height to miscalculate because it's not expecting to see a 1:1 matching for the image.

Can the code be fixed that the dithertron is reset, and the image is guaranteed to always be reinitialized prior to redoing the settings? I've not wanted to touch the UI stuff for fear I could really mess that area up.

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