tukui-org / ElvUI

User Interface replacement AddOn for World of Warcraft.
https://tukui.org
Other
398 stars 137 forks source link

Option to change "Modifier Key" for "QuickDTMode", it's Hardcoded to LALT and RALT #1112

Closed fubaWoW closed 7 months ago

fubaWoW commented 7 months ago

Troubleshooting Steps

Hi there,

this is not a bug per se but would be nice to have the ability to change the Modifier Key for your function QuickDTMode as of it is Hardcoded in DataTexts.lua line 73 with if DT.SelectedDatatext and (key == 'LALT' or key == 'RALT') then.

I know i can change it manually every Update of ElvUI but would be WAY BETTER if it will be changeable it in the Config and also will get saved in the Global Profile!

greetings

Describe the expected behavior and what actually happened?

No response

Reproducing the issue.

no issue

Lua Errors

no

Verification Steps

Repooc commented 7 months ago

This prob won't be implemented as doing so would overlap the modifier and would require recoding some of the datatexts and don't feel its worth the effort.

fubaWoW commented 7 months ago

Yeah... It is overall kinda stupid to "Hardcode" anything that is Final State or better say a "non Test State" in a Big Project like ElvUI but... ok 🤦‍♂️ So i will change it for myself 👍

Azilroka commented 7 months ago

You would need to recode all modifiers to do it.. like take the volume datatext.. you would need to have it coded to support alt, ctrl, shift and meta. Alt was picked for quick dt because there isn't any of our datatexts that use it currently.