Drop the dp.C12 markers: the Selection match sites take the new fields

This commit is contained in:
bflatastic committed 2026-11-21 23:47:18 +07:00
1 parent 99bf55aac1
commit 57bc4efe07
2 files changed
+2 -2

No files matched your search

@@ -355,7 +355,7 @@ impl<'a> PropertiesDialog<'a> {
.shown(current)
.show_items(ui, &titles, &mut |key, _| Tab::new(title_of(key)));
for event in strip.response.events {
if let CollectionEvent::Selection { change: SelectionChange::Set(keys), .. } = event // P3(mechanical): dp.C12
if let CollectionEvent::Selection { change: SelectionChange::Set(keys), .. } = event
&& let Some(key) = keys.into_iter().last()
{
current = key.min(last);
@@ -79,7 +79,7 @@ impl<'a, K: Clone + Eq + Hash + Send + Sync + 'static> SectionList<'a, K> {
}
let listed = sections.show_items(ui, source, &mut |key, _| row(key));
for event in listed.events {
if let CollectionEvent::Selection { change: SelectionChange::Set(keys), .. } = event // P3(mechanical): dp.C12
if let CollectionEvent::Selection { change: SelectionChange::Set(keys), .. } = event
&& let Some(key) = keys.into_iter().last()
{
picked = Some(key);