Project: a single unselected folder or data-file drag still reports why; index math saturates (#634 follow-up)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QiAJeFttZp83Fh7YuzAR5f
This commit is contained in:
@@ -88,7 +88,9 @@ pub(crate) fn project_drop_items(app: &EffectcraftApp, dragged: u64) -> Vec<u64>
|
||||
let candidates: Vec<u64> = if selected.iter().any(|id| id.0 == dragged) {
|
||||
selected.iter().map(|id| id.0).collect()
|
||||
} else {
|
||||
vec![dragged]
|
||||
// One unselected item goes through as is, so a folder or data file still gets the
|
||||
// engine's error instead of a silent no-op.
|
||||
return vec![dragged];
|
||||
};
|
||||
candidates
|
||||
.into_iter()
|
||||
|
||||
Reference in New Issue
Block a user