View Single Post
11-11-16, 07:28 AM   #11
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 2
Originally Posted by lightspark View Post
Don't use hardcoded strings like "SPACE", "INSERT", "(s%-)", use global variables instead, e.g. SHIFT_KEY_TEXT, KEY_SPACE, KEY_INSERT, cuz different languages use different names for said keys
Agreed I was in the process of refactoring those

I have tried your approach and it's still not yielding the expected results.

My ABs are set up by LibActionButton which hasn't had a 7.1 update so I'll have a root around in the code of that because I suspect it's borked by something changed in 7.1 (though looking at the FrameXML/ActionButton code I'm still stumped as to why because it doesn't look manifestly different to 7.0.3)

Thanks for the snippet though. I've used it

Originally Posted by lightspark View Post
P.S. high lvl necromancy
Ayuh. I did call it out though
  Reply With Quote