mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-09 09:29:44 -06:00
fixed compile bug
This commit is contained in:
@@ -1481,7 +1481,8 @@ fn highlight_after_removal(app: &mut VectorcraftApp, ctx: &egui::Context, n: &No
|
||||
_ => sel.rows().filter(|(r, _)| *r == rows).and_then(|(_, a)| shift(a)).map(|a| rows.sel(a)),
|
||||
};
|
||||
set_active(app, ctx, active.unwrap_or(Sel::None));
|
||||
set_pstate(ctx, "ap-multi", Highlight { owner: Some(n.id), rows, order, anchor });
|
||||
let active = active.and_then(|a| a.rows()).map(|(_, a)| a);
|
||||
set_pstate(ctx, "ap-multi", Highlight { owner: Some(n.id), rows, order, anchor, active });
|
||||
}
|
||||
|
||||
/// The command a stack row `what` dropped on Duplicate Selected Item (`copy`) or Delete Selected
|
||||
|
||||
Reference in New Issue
Block a user