erithtotl / wall-height

New fork of original project for continued improvements.
https://github.com/erithtotl/wall-height
GNU General Public License v3.0
6 stars 9 forks source link

Error when moving mouse over wall #16

Open watermelonwolverine opened 3 years ago

watermelonwolverine commented 3 years ago

A new error is logged into the console every time I move my mouse over a wall:

TypeError: Cannot read property 'clear' of undefined at wall-height.js:32 at Function._call (eval at (libWrapper-error_listeners.js:56), :4:14) at Function.callAll (foundry.js:153) at Wall._onHoverOut (foundry.js:18966) at Wall._onHoverOut (foundry.js:46112) at MouseInteractionManager.callback (foundry.js:35390) at MouseInteractionManager._handleMouseOut (foundry.js:35529) at r.a.emit (index.js:181) at r.dispatchEvent (interaction.min.js:8) at r.processPointerOverOut (interaction.min.js:8) at r.processPointerMove (interaction.min.js:8) at t.recursiveFindHit (interaction.min.js:8) at t.recursiveFindHit (interaction.min.js:8) at t.recursiveFindHit (interaction.min.js:8) at t.recursiveFindHit (interaction.min.js:8) at t.recursiveFindHit (interaction.min.js:8) at t.findHit (interaction.min.js:8) at r.processInteractive (interaction.min.js:8) at r.onPointerMove (interaction.min.js:8)

Edit: This bug only appears if the tooltip is disabled.