Commit 576e5f27 authored by Ivaria's avatar Ivaria

Fixed backdrop border colors for panel borders, etc.

parent a79133cd
## Interface: 90001
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.115
## Version: 3.116
## Notes: Raid Frames providing click-heal functionality, buff and debuff control, main tank management and much more
## SavedVariablesPerCharacter: VUHDO_CONFIG, VUHDO_PANEL_SETUP, VUHDO_SPELL_ASSIGNMENTS, VUHDO_HOSTILE_SPELL_ASSIGNMENTS, VUHDO_MM_SETTINGS, VUHDO_PLAYER_TARGETS, VUHDO_MAINTANK_NAMES, VUHDO_BUFF_SETTINGS, VUHDO_POWER_TYPE_COLORS, VUHDO_SPELLS_KEYBOARD, VUHDO_SPELL_CONFIG, VUHDO_BUFF_ORDER, VUHDO_SPEC_LAYOUTS, VUHDO_GROUP_SIZE, VUHDO_RAID, VUHDO_INDICATOR_CONFIG
## SavedVariables: VUHDO_DEFAULT_LAYOUT, VUHDO_DEFAULT_PROFILE, VUHDO_PROFILES, VUHDO_MANUAL_ROLES, VUHDO_SPELL_LAYOUTS, VUHDO_USER_CLASS_COLORS, VUHDO_DEBUFF_BLACKLIST, VUHDO_BOUQUETS, VUHDO_COMBAT_LOG_TRACE, VUHDO_GLOBAL_CONFIG, VUHDO_DEBUG
......
## Interface: 90001
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.115
## Version: 3.116
## Notes: VuhDo Options
## SavedVariables: VUHDO_OPTIONS_SETTINGS
## SavedVariablesPerCharacter: VUHDO_GLOBAL_ICONS, VUHDO_GI_SCAN_IDX
......
......@@ -177,9 +177,11 @@ local function VUHDO_initPlayerTargetBorder(aButton, aBorderFrame, anIsNoIndicat
end
aBorderFrame.backdropInfo = tBackdrop;
aBorderFrame:ApplyBackdrop();
aBorderFrame.backdropBorderColor = CreateColor(0, 0, 0);
aBorderFrame.backdropBorderColorAlpha = 1;
aBorderFrame:ApplyBackdrop();
aBorderFrame:SetBackdropBorderColor(0, 0, 0, 1);
aBorderFrame:SetShown(anIsNoIndicator);
end
......@@ -212,9 +214,11 @@ local function VUHDO_initClusterBorder(aButton)
end
tClusterFrame.backdropInfo = tBackdropCluster;
tClusterFrame:ApplyBackdrop();
tClusterFrame.backdropBorderColor = CreateColor(0, 0, 0);
tClusterFrame.backdropBorderColorAlpha = 0;
tClusterFrame:ApplyBackdrop();
tClusterFrame:SetBackdropBorderColor(0, 0, 0, 0);
end
......@@ -957,9 +961,11 @@ local function VUHDO_initPanel(aPanel, aPanelNum)
VUHDO_STD_BACKDROP["insets"]["bottom"] = tPanelColor["BORDER"]["insets"];
aPanel.backdropInfo = VUHDO_STD_BACKDROP;
aPanel:ApplyBackdrop();
aPanel.backdropBorderColor = CreateColor(VUHDO_backColor(tPanelColor["BORDER"]));
aPanel.backdropBorderColorAlpha = tPanelColor["BORDER"]["O"] or 1;
aPanel:ApplyBackdrop();
aPanel:SetBackdropBorderColor(VUHDO_backColor(tPanelColor["BORDER"]));
if VUHDO_IS_PANEL_CONFIG then
tLabel:SetText("[PANEL " .. aPanelNum .. "]");
......@@ -973,18 +979,21 @@ local function VUHDO_initPanel(aPanel, aPanelNum)
VUHDO_UIFrameFlash(tLabel, 0.25, 0.5, 10000, true, 0.3, 0);
aPanel.backdropInfo = VUHDO_DESIGN_BACKDROP;
aPanel:ApplyBackdrop();
aPanel.backdropBorderColor = CreateColor(1, 1, 1);
aPanel.backdropBorderColorAlpha = 1;
aPanel:ApplyBackdrop();
aPanel:SetBackdropBorderColor(VUHDO_backColor(tPanelColor["BORDER"]));
else
aPanel.backdropInfo = VUHDO_STD_BACKDROP;
aPanel:ApplyBackdrop();
tLabel:SetTextColor(0.4, 0.4, 0.4, 1);
VUHDO_UIFrameFlashStop(tLabel);
-- TODO: safe to set as frame property before flash stop?
aPanel.backdropBorderColor = CreateColor(VUHDO_backColor(tPanelColor["BORDER"]));
aPanel.backdropBorderColorAlpha = tPanelColor["BORDER"]["O"] or 1;
aPanel:SetBackdropBorderColor(VUHDO_backColor(tPanelColor["BORDER"]));
tLabel:SetTextColor(0.4, 0.4, 0.4, 1);
VUHDO_UIFrameFlashStop(tLabel);
end
if DESIGN_MISC_PANEL_NUM then
......
Version 3.116
Known issues:
-- Shadowlands stat squish cleanup still a work in progress
-- AOE Advice spell equations need complete overhaul
-- Some text providers need changes to better display small numbers
-- Debuff tooltips are currently bugged when using ElvUI
-- Deselect 'VuhDo Options > Panels > Tooltips > Tooltips > Debuffs'
Bugfixes:
-- Fixed backdrop border colors for panel borders, etc.
Improvements:
-- Added Shaman spell 'Water Shield' to Buff Watch
--------------------------------------------------------------
Version 3.115
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment