Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display by modifier #72

Open
LordRomzessV opened this issue Sep 10, 2021 · 3 comments
Open

Display by modifier #72

LordRomzessV opened this issue Sep 10, 2021 · 3 comments

Comments

@LordRomzessV
Copy link

It seems to me that most of the id does not carry information most of the time, but they are most often needed to check a specific spell / object / icon. Recently, in addition to the ItemID, I have noticed an IconID, which in turn sometimes overlaps the tooltip text. Why don't we make it so that the ID is displayed only when the key is pressed?

Probably, this function will also require a settings module for the modification, but here it is customary to write sentences - so I wrote it too.

@fafaraway
Copy link

totally agree

@Kilrahs
Copy link

Kilrahs commented Aug 6, 2024

What I did to add this was...

at line 115 in idTip.lua add one of the following

-- Check if the Alt key is pressed
if not IsAltKeyDown() then return end
-- Check if the Control (Ctrl) key is pressed
if not IsControlKeyDown() then return end
-- Check if the Shift key is pressed
if not IsShiftKeyDown() then return end
-- Check if any modifier key (Alt, Control, or Shift) is pressed
if not (IsAltKeyDown() or IsControlKeyDown() or IsShiftKeyDown()) then return end

You would need to redo this if you update the addon.

@silverwind
Copy link
Owner

Could be made an option now that we have an options interface, default should be to show without modifier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants