- Damage -> Enemies now also show neutral creatures.
- Added support to dungeons, bosses and trash mobs are now recognized. - Added target information for each spell in Player Detail Window. - Added options for change the location of tooltips. - Added options for change the Overall Data functionality. - Added tooltips for lock and detach buttons. - Added new row texture: 'Details Vidro'. - Revamp on death log tooltips. - Improved the visual effect for the instance which current moving window can snap to. - Fixed issue where warlocks soul link was counting as damage done. - Fixed the attributes shown on Player Detail Window, now when showing Dps for example, all spells and targets also show Dps amount. - Fixed issue with Hotcorners where the quick click functionality wasn't changing on options panel. - Fixed a Hotcorner issue with window mode where the mouse goes outside the wow window. - Fixed bug where new rows created after resize the window was coming with borders. - Fixed bug where resize buttons was below the bars when setting the strata level to Dialog. - You are not prepared plugin had the time alert time increased to 30 seconds, up from 20.
This commit is contained in:
@@ -60,14 +60,14 @@ local tinsert = tinsert
|
||||
|
||||
savedtable = savedtable or {}
|
||||
|
||||
tinsert (LibHotCorners [corner], {name = name, fname = fname, savedtable = savedtable, icon = icon, tooltip = tooltip, click = clickfunc, menus = menus, quickfunc = quickclick, onenter = onenter, onleave = onleave})
|
||||
tinsert (LibHotCorners [corner], {name = name, fname = fname, savedtable = savedtable, icon = icon, tooltip = tooltip, click = clickfunc, menus = menus, quickfunc = quickfunc, onenter = onenter, onleave = onleave})
|
||||
LibHotCorners [corner].map [name] = #LibHotCorners [corner]
|
||||
|
||||
if (not savedtable.hide) then
|
||||
LibHotCorners [corner].is_enabled = true
|
||||
end
|
||||
|
||||
if (quickfunc and savedtable [corner .. "_quick_click"]) then
|
||||
if (quickfunc and savedtable [corner .. "_quickclick"]) then
|
||||
LibHotCorners [corner].quickfunc = quickfunc
|
||||
end
|
||||
|
||||
@@ -82,8 +82,8 @@ local tinsert = tinsert
|
||||
local corner_table = LibHotCorners [corner]
|
||||
local addon_table = corner_table [corner_table.map [name]]
|
||||
|
||||
addon_table.savedtable.quickclick = value
|
||||
|
||||
addon_table.savedtable [corner .. "_quickclick"] = value
|
||||
|
||||
if (value and addon_table.quickfunc) then
|
||||
corner_table.quickfunc = addon_table.quickfunc
|
||||
else
|
||||
@@ -157,6 +157,16 @@ local tinsert = tinsert
|
||||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> scripts
|
||||
|
||||
--> background (window mode fix)
|
||||
function HotCornersBackgroundOnEnter (self)
|
||||
if (LibHotCornersTopLeft and LibHotCornersTopLeft:IsShown()) then
|
||||
if (LibHotCornersTopLeft:GetWidth() > 2) then
|
||||
HotCornersOnLeave (LibHotCornersTopLeft)
|
||||
end
|
||||
end
|
||||
self:EnableMouse (false)
|
||||
end
|
||||
|
||||
--> set size
|
||||
local function set_size (self)
|
||||
if (self.position == "topleft" or self.position == "topright") then
|
||||
@@ -195,6 +205,8 @@ local tinsert = tinsert
|
||||
|
||||
set_size (self)
|
||||
|
||||
HotCornersBackgroundFrame:EnableMouse (true)
|
||||
|
||||
local i = 1
|
||||
|
||||
local sort = {}
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
|
||||
|
||||
<Frame name="HotCornersBackgroundFrame" frameStrata="MEDIUM" parent="UIParent">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
|
||||
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
||||
</Anchors>
|
||||
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self:EnableMouse (false)
|
||||
</OnLoad>
|
||||
<OnEnter>
|
||||
HotCornersBackgroundOnEnter (self)
|
||||
</OnEnter>
|
||||
</Scripts>
|
||||
|
||||
</Frame>
|
||||
|
||||
<Frame name="HotCornersFrameCornerTemplate" frameStrata="FULLSCREEN" virtual="true" parent="UIParent">
|
||||
<Size x="1" y="1"/>
|
||||
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true">
|
||||
@@ -42,7 +59,6 @@
|
||||
|
||||
<Frame name="HotCornersButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true">
|
||||
<Size x="32" y="32"/>
|
||||
|
||||
<Scripts>
|
||||
<OnCreate>
|
||||
self:SetFrameLevel (self:GetParent():GetFrameLevel()+2)
|
||||
|
||||
Reference in New Issue
Block a user