Skip to content

Commit

Permalink
fix: remove regression where metabolite sizes were not properly queried
Browse files Browse the repository at this point in the history
  • Loading branch information
carrascomj committed Oct 25, 2023
1 parent 2c76917 commit 8ff8439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aesthetics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ pub fn plot_metabolite_color(
pub fn plot_metabolite_size(
ui_state: Res<UiState>,
mut query: Query<(&mut Path, &CircleTag)>,
mut aes_query: Query<(&Point<f32>, &Aesthetics, &GeomArrow), With<Gsize>>,
mut aes_query: Query<(&Point<f32>, &Aesthetics), (With<Gsize>, With<GeomMetabolite>)>,
) {
for (sizes, aes, _geom) in aes_query.iter_mut() {
for (sizes, aes) in aes_query.iter_mut() {
if let Some(condition) = &aes.condition {
if condition != &ui_state.condition {
continue;
Expand Down

0 comments on commit 8ff8439

Please sign in to comment.