View Single Post
11-24-23, 09:21 AM   #2
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 17
lua Code:
  1. EventRegistry:RegisterFrameEventAndCallback("PLAYER_REGEN_DISABLED", function() C_CVar.SetCVar("cursorSizePreferred", 2) end)
  2. EventRegistry:RegisterFrameEventAndCallback("PLAYER_REGEN_ENABLED", function() C_CVar.SetCVar("cursorSizePreferred", 0) end)
  3. EventRegistry:RegisterFrameEventAndCallback("PLAYER_ENTERING_WORLD", function() C_CVar.SetCVar("cursorSizePreferred", 0) end)


Turn it into an addon by copy pasting the code into this website https://addon.bool.no/

Or you can copy paste it into an addon's lua file you already have installed.


Change the value "2" and "0" you see at the end of the lines into your preferred sizes.
-1=determine based on system/monitor dpi
0=32x32
1=48x48
2=64x64
3=96x96
4=128x128

Last edited by wardz : 11-24-23 at 09:26 AM.
  Reply With Quote