Skip to content

Commit 6f43aa9

Browse files
Fix BPC columns in gui
1 parent 55049ba commit 6f43aa9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

anise-gui/src/bpc.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ pub fn bpc_ui(
5858
ui.label(name);
5959
});
6060

61+
row.col(|ui| match orientation_name_from_id(summary.frame_id) {
62+
Some(name) => {
63+
ui.label(format!("{name} ({})", summary.frame_id));
64+
}
65+
None => {
66+
ui.label(format!("{}", summary.frame_id));
67+
}
68+
});
69+
6170
row.col(|ui| {
6271
if show_unix {
6372
ui.text_edit_singleline(&mut format!(
@@ -80,15 +89,6 @@ pub fn bpc_ui(
8089
};
8190
});
8291

83-
row.col(|ui| match orientation_name_from_id(summary.frame_id) {
84-
Some(name) => {
85-
ui.label(format!("{name} ({})", summary.frame_id));
86-
}
87-
None => {
88-
ui.label(format!("{}", summary.frame_id));
89-
}
90-
});
91-
9292
row.col(
9393
|ui| match orientation_name_from_id(summary.inertial_frame_id) {
9494
Some(name) => {

0 commit comments

Comments
 (0)