forked from 1b-agent/fieldcraft-upstream
ui: a selected set is highlighted in the viewport; seeds are selected, described, edited and deleted from the browser (#336, #352)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
1 parent
a53c79cb55
commit
de8cdd0b03
7 files changed
+226
-50
No files matched your search
@@ -596,6 +596,13 @@ impl Picker<'_> {
|
||||
s
|
||||
}
|
||||
|
||||
/// `items` (a set's members) drawn over the scene in `color`.
|
||||
pub fn items_overlay(&self, items: &[Item], color: Rgb) -> Scene {
|
||||
let mut s = Scene::default();
|
||||
self.mark(&Marks::of(self, items.iter()), color, &mut s);
|
||||
s
|
||||
}
|
||||
|
||||
/// The hovered item drawn over the scene in `color`. With `fill` off (while result contours
|
||||
/// are shown) its faces are left out and only their outline, edges and nodes are drawn, so
|
||||
/// the hover never hides the colours under the pointer.
|
||||
|
||||
Reference in new issue
Block a user