pixi-jsdoc-template icon indicating copy to clipboard operation
pixi-jsdoc-template copied to clipboard

Sidebar "currentItem" selection is too fuzzy

Open H12 opened this issue 6 years ago • 0 comments

If you have multiple files with similar names (e.g. Model and AnotherModel), the data-name selector here:

https://github.com/pixijs/pixi-jsdoc-template/blob/d9971ae190b31faa622a4433ae8911bb4302aca2/src/scripts/main.js#L42

...will incorrectly set $currentItem to be AnotherModel when you click on Model.

I think using data-name= instead of data-name*= will fix this, but I'm unsure whether that could cause other issues.

H12 avatar Feb 11 '19 18:02 H12