WoWInterface SVN Critline

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 7 to Rev 8
    Reverse comparison

Rev 7 → Rev 8

trunk/filters.lua
646,20 → 646,20
 
 
do
local spellButton_OnModifiedClick = SpellButton_OnModifiedClick
-- local spellButton_OnModifiedClick = SpellButton_OnModifiedClick
 
function SpellButton_OnModifiedClick(self, button, ...)
local slot = SpellBook_GetSpellBookSlot(self)
if ( slot > MAX_SPELLS ) then
return
end
if IsShiftKeyDown() and filters.spell:IsVisible() and filters:GetParent() then
local spellName, subSpellName = GetSpellBookItemName(slot, SpellBookFrame.bookType)
filters:AddSpell(filters.spell.tree:GetSelectedValue(), spellName)
return
end
return spellButton_OnModifiedClick(self, button)
end
-- hooksecurefunc("SpellButton_OnModifiedClick", function(self, button, ...)
-- local slot = SpellBook_GetSpellBookSlot(self)
-- if ( slot > MAX_SPELLS ) then
-- return
-- end
-- if IsShiftKeyDown() and filters.spell:IsVisible() and filters:GetParent() then
-- local spellName, subSpellName = GetSpellBookItemName(slot, SpellBookFrame.bookType)
-- filters:AddSpell(filters.spell.tree:GetSelectedValue(), spellName)
-- return
-- end
-- return spellButton_OnModifiedClick(self, button)
-- end)
 
--[[
local function onClick(self, button)
trunk/Critline.toc
1,6 → 1,6
## Interface: 40000
## Title: Critline
## Version: 3.1.1
## Version: 3.1.2
## Notes: Saves your normal and critical records and flashes a message if you break the record.
## Author: L'ombra
## SavedVariables: CritlineDB
trunk/changeLog.txt
1,3 → 1,9
3.1.2
- Clicking the Announce button rather than pressing enter should now properly announce.
- Added support for LibSharedMedia for selecting splash font.
- Disabled adding spells to filter from the spell book to avoid tainting.
- Removed leftover debugging for when moving the display frame.
 
3.1.1
- Fixed adding spells to filter from the spell book.
- Fixed display moving on login when using a scale other than 100%.
trunk/display.lua
21,7 → 21,6
owner:StopMovingOrSizing()
local pos = owner.profile.pos
pos.point, pos.x, pos.y = select(3, owner:GetPoint())
print(pos.point, pos.x, pos.y)
end
 
local function onEnter(self)