11-24-23, 09:21 AM
|
#2
|
A Deviate Faerie Dragon
Join Date: Apr 2014
Posts: 17
|
lua Code:
EventRegistry:RegisterFrameEventAndCallback("PLAYER_REGEN_DISABLED", function() C_CVar.SetCVar("cursorSizePreferred", 2) end) EventRegistry:RegisterFrameEventAndCallback("PLAYER_REGEN_ENABLED", function() C_CVar.SetCVar("cursorSizePreferred", 0) end) 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.
|
|
|