aloisdeniel / aloisdeniel/figma-to-flutter

Centered nodes in groups aren't relative to the group center

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Dart
Stars
875
Forks
135
PR merge metrics
No merged PRs in 30d

Description

When having nodes with `LEFT`, `RIGHT`, `LEFT_RIGHT`, `BOTTOM`, `TOP`, `TOP_BOTTOM` contraints, the offset is relative to the first parent that is not a `GROUP`.

But when having a `CENTER` constraint, the offset must be relative to the center of the `GROUP`.

Currently the offset is also relative to the first parent that is not a `GROUP`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.