Getting the popover Application working on the most superficial level, and creating a generic popover mixin

This commit is contained in:
Oliver-Akins 2025-03-13 23:36:25 -06:00
parent af5cf4acd5
commit 8e8202f8a6
7 changed files with 244 additions and 12 deletions

View file

@ -54,3 +54,14 @@ export function documentSorter(a, b) {
};
return Math.sign(a.name.localeCompare(b.name));
};
// MARK: getTooltipDelay
/**
* Retrieves the configured minimum delay between the user hovering an element
* and a tooltip showing up. Used for the pseudo-tooltip Applications that I use.
*
* @returns The number of milliseconds for the timeout
*/
export function getTooltipDelay() {
return 1000; // game.tooltip.constructor.TOOLTIP_ACTIVATION_MS;
};