Skip to content

Commit

Permalink
docs: Add note about PositionType and subcomponents (#1300)
Browse files Browse the repository at this point in the history
Add note about PositionType and subcomponents
  • Loading branch information
spydon authored Jan 7, 2022
1 parent db7842d commit b9b8c64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ your widgets, when you don't want the component to respect the camera nor the vi
for example be for controls or joysticks that would be unergonomic to use if they had to stay within
the viewport.

Do note that this setting is only respected if the component is added directly to the root
`FlameGame` and not as a child component of another component.

## PositionComponent

This class represent a positioned object on the screen, being a floating rectangle or a rotating
Expand Down

0 comments on commit b9b8c64

Please sign in to comment.