Tooltips: add option to disable all tooltips in general tab

This commit is contained in:
Ly-sec
2025-10-05 10:38:32 +02:00
parent 77f1ef8893
commit 641e28eee6
10 changed files with 40 additions and 3 deletions
+4
View File
@@ -16,6 +16,10 @@ Singleton {
}
function show(screen, target, text, direction, delay) {
if (!Settings.data.ui.tooltipsEnabled) {
return
}
// Don't create if no text
if (!screen || !target || !text) {
Logger.log("Tooltip", "No target or text")