The UIManager:close(dict_popup) does close the widget..
BUT this action also appears to bypass the widget's DictQuickLookup: onClose() function -- at least, the scheduled highlight clear is not triggered after the widget is closed (i do patch that to lengthen its duration before clearing).
The UIManager:sendEvent() close appears to be a more graceful action in this regard, clearing the highlight afterwards.
Last edited by sdothum; 02-11-2025 at 05:20 AM.
|