mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 18:04:48 +00:00
The selection trials' tool wrapper passes on whether the tool takes every move, as the app's wrapper does
This commit is contained in:
@@ -175,6 +175,10 @@ where
|
||||
SelectToolPass::new(&mut *self.tool.borrow_mut(), &self.probe).claims()
|
||||
}
|
||||
|
||||
fn takes_every_move(&self) -> bool {
|
||||
SelectToolPass::new(&mut *self.tool.borrow_mut(), &self.probe).takes_every_move()
|
||||
}
|
||||
|
||||
fn access(&self, cx: &ToolContext<'_>) -> Option<ToolAccess> {
|
||||
SelectToolPass::new(&mut *self.tool.borrow_mut(), &self.probe).access(cx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user