Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Margins are not calculated properly unless the menu is in the default bottom right location #34

Open
MrCsabaToth opened this issue May 28, 2021 · 0 comments

Comments

@MrCsabaToth
Copy link
Contributor

MrCsabaToth commented May 28, 2021

This is because the main Container's transform: Matrix4.translationValues(16.0, 16.0, 0.0) does not take into account the alignment and always does the translation into one direction both axis. It should be transform: Matrix4.translationValues(16.0 * _directionX, 16.0 * _directionY, 0.0) instead. I'll push a fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant