# Objective Fixes #3225, Allow for flippable UI Images ## Solution Add flip_x and flip_y fields to UiImage, and swap the UV coordinates accordingly in ui_prepare_nodes. ## Changelog * Changes UiImage to a struct with texture, flip_x, and flip_y fields. * Adds flip_x and flip_y fields to ExtractedUiNode. * Changes extract_uinodes to extract the flip_x and flip_y values from UiImage. * Changes prepare_uinodes to swap the UV coordinates as required. * Changes UiImage derefs to texture field accesses. |
||
|---|---|---|
| .. | ||
| flex | ||
| render | ||
| widget | ||
| camera_config.rs | ||
| focus.rs | ||
| geometry.rs | ||
| lib.rs | ||
| node_bundles.rs | ||
| stack.rs | ||
| ui_node.rs | ||
| update.rs | ||