yasd251 / checkbox-sounds-plugin

Adds a nice completion sound for checkboxes when ticked in Obsidian
MIT License
6 stars 2 forks source link

Fix error when clicking on nodes in canvas #7

Closed Kay607 closed 6 months ago

Kay607 commented 6 months ago

I added a check on nodeAttributes.class to check if it is undefined and return if it is to prevent an error being raised when accessing data on the class

I have tested it on canvas and this error no longer occurs and other functionality works as normal

image

yasd251 commented 6 months ago

Thanks Ray, will merge now.