urholaukkarinen / transform-gizmo

3d transformation gizmo
https://github.com/urholaukkarinen/transform-gizmo
Apache License 2.0
199 stars 52 forks source link

Gizmo is clipped by the UI area instead of the viewport #71

Closed kvark closed 1 month ago

kvark commented 3 months ago

I'm migrating from egui-gizmo to transform-gizmo-egui. One of the surprises is that the gizmo is only drawing within the UI area: transform-gizmo-clipping

This was not the case with "egui-gizmo". In the viewport argument, I tried passing Rect::EVERYTHING or the actual window dimensions - doesn't help. Finally, the gizmo is reacting to manipulation even if it's not visible. This makes the issue even more confusing to the user.

kvark commented 3 months ago

For comparison, screenshot from egui-gizmo: egui-gizmo

urholaukkarinen commented 1 month ago

This should now be fixed in main and will be included in the next release