~vpzom/savg

ba7295d8b610d683de24af45aa66ff69277bc840 — Colin Reeder 5 years ago fe28215
Select front-most items first
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +1 -1
@@ 313,7 313,7 @@ fn main() {
                        }
                    }

                    let new_selection = document.content.iter().find(|elem| elem.as_ref().get_aabb().contains(&mouse_pos));
                    let new_selection = document.content.iter().rev().find(|elem| elem.as_ref().get_aabb().contains(&mouse_pos));

                    *instance.selection.write().unwrap() = match new_selection {
                        Some(e) => Some(e.id()),