From 8858459b10e1229268211163bef60e0a05abf7e8 Mon Sep 17 00:00:00 2001 From: Parnic Date: Thu, 27 Oct 2022 08:56:53 -0500 Subject: [PATCH] Disable Runes Hide Blizzard option This is no longer functional in 10.0 and I can't find an easy replacement, so I'm removing the functionality for 10.0+ for now. The entire player frame can still be hidden, which also hides the runes, so I don't feel like this is super critical to have. Fixes #26 --- modules/Runes.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/Runes.lua b/modules/Runes.lua index e084fde..01a15a6 100644 --- a/modules/Runes.lua +++ b/modules/Runes.lua @@ -134,6 +134,9 @@ function Runes.prototype:GetOptions() disabled = function() return not self.moduleSettings.enabled end, + hidden = function() + return not PlayerFrame_HideVehicleTexture + end, order = 32 } @@ -581,6 +584,10 @@ local function hook_playerframe() end function Runes.prototype:HideBlizz() + if not PlayerFrame_HideVehicleTexture then + return + end + RuneFrame:Hide() RuneFrame:UnregisterAllEvents()