MCPcopy Create free account
hub / github.com/Logicalshift/flowbetween / with_canvas_program

Method with_canvas_program

flo/src/scenery/tools/tool.rs:91–98  ·  view source on GitHub ↗

Updates this behaviour with a canvas program, to handle events sent to the canvas while this tool is selected

(mut self, canvas_program: impl 'static + Send + Sync + Fn(InputStream<FocusEvent>, SceneContext, Arc<Mutex<TToolData>>) -> TFuture)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

brush_tool_programFunction · 0.80

Calls 1

boxedMethod · 0.80

Tested by

no test coverage detected