add laser pointer to view mode

This commit is contained in:
zsviczian
2023-10-06 15:04:34 +00:00
parent a249f332a2
commit ca22a52102
6 changed files with 80 additions and 13 deletions
+8
View File
@@ -266,3 +266,11 @@ export const isHandToolActive = ({
}) => {
return activeTool.type === "hand";
};
export const isLaserPointerActive = ({
activeTool,
}: {
activeTool: AppState["activeTool"];
}) => {
return activeTool.type === "laser";
};