Open C-S-McFarland opened 1 year ago
this can be greatly ameliorated by adding the 'refreshToken'
hook to the array in removeTooltipHandlers()
in TTAHooks.js
, like so (~ lines 57-59?):
['preUpdateToken', 'refreshToken', 'canvasPan', 'deleteToken'].forEach((hook) => {
addHookHandler(hook, HOOK_TYPE.ON, TooltipFactory.removeTooltips.bind(TooltipFactory));
});
there's a few knock-on effects I found undesirable, but I also solved those by moving both 'refreshToken'
and 'preUpdateToken'
to a second array directed at a different callback I added to TooltipFactory.js
(removeControlledTooltips(token) {if (token.controlled) this._removeTooltips();}
); it was a problem for some specific shenanigans I'm pulling, but is probably entirely unnecessary for most people, and maybe even unwanted
Describe the bug When selecting a token to move, the tool-tip does not disappear once the token is dragged. Compare this to the ruler use where once you begin drawing a distance, the tool-tip goes away so that you can see clearly where you are measuring to.
To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context Add any other context about the problem here.
An export of your tooltip settings Please provide an export of your settings, found by going into the
Tooltip manger
and clickingExport
.