mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Add loging implementation for wasm (#56)
This commit is contained in:
@@ -10,6 +10,7 @@ pub struct Dispatcher {
|
||||
|
||||
impl Dispatcher {
|
||||
pub fn handle_event(&self, state: &mut EditorState, event: Event) -> Result<(), EditorError> {
|
||||
log::trace!("{:?}", event);
|
||||
match event {
|
||||
Event::SelectTool(tool_type) => {
|
||||
state.tools.active_tool = tool_type;
|
||||
|
||||
Reference in New Issue
Block a user