Skip to content

Compaction doesn't work as expected #641

@andrewhathaway

Description

@andrewhathaway

Thanks for submitting an issue to RGL!

Please mark the type of this issue:

  • Bug
  • Feature Request
  • Question

I have a project currently using this package due to the previous versions of RGL not support horizontal compaction.

start

When using this version, the compaction happens in way in which space is not wasted. Shown below:

desired

When using RGL 0.16.0, the compaction is not as desired, and just lines up against one side. I've also found that is switches between left and right, randomly when state has been updated. Shown below:

actual

I'd prefer it if compaction was just done like this, and blocks fit in to where they could?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions