Skip to content

[Bug]: New update broke indentation #52

Description

@boolemancer

Steps to Reproduce

With the new visual update (which otherwise looks great 😄), it looks like indentation is handled in an odd way now. The first two indentation levels are rendered at the same horizontal position, which makes it very confusing, visually.

Expected:

Image

Actual:

Image

Based on this comment, I assume this was done intentionally, but maybe it was only intended for certain scenarios?

        int level = Math.max(0, task.getIndentLevel());
        // Shift rendering so level 0 = 0px, level 1 = 0px, level 2 = 12px, etc.
        // This avoids the first child appearing with an extra indent when prereqs are added.
        int indent = (level <= 1) ? 0 : (level - 1) * INDENT_PER_LEVEL;

Expected Results

Expected every indentation level to be visually distinct

Actual Results

The first two indentation levels are visually the same

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions