mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 02:48:12 +08:00
Fix active tool selection (#92)
This commit is contained in:
committed by
Keavon Chambers
parent
3ab5f6b7ef
commit
c540d781e1
@@ -332,7 +332,8 @@ export default defineComponent({
|
||||
this.viewportSvg = responseData;
|
||||
});
|
||||
registerResponseHandler(ResponseType["Tool::SetActiveTool"], (responseData) => {
|
||||
this.activeTool = responseData;
|
||||
const [activeTool] = responseData;
|
||||
this.activeTool = activeTool;
|
||||
});
|
||||
|
||||
window.addEventListener("keyup", (e: KeyboardEvent) => this.keyUp(e));
|
||||
|
||||
Reference in New Issue
Block a user