Skip to content

Commit

Permalink
8.3.03.1.3
Browse files Browse the repository at this point in the history
Changed pin nudging and placement
  • Loading branch information
LanceDH committed Feb 14, 2020
1 parent d8fa0c7 commit 57fff5d
Show file tree
Hide file tree
Showing 6 changed files with 298 additions and 181 deletions.
15 changes: 10 additions & 5 deletions Data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
addon.WQT = LibStub("AceAddon-3.0"):NewAddon("WorldQuestTab");
addon.externals = {};
addon.variables = {};
addon.debug = false;
addon.debug = true;
addon.WQT_Utils = {};
local WQT_Utils = addon.WQT_Utils;
local _L = addon.L;
Expand Down Expand Up @@ -439,12 +439,14 @@ _V["SETTING_TYPES"] = {
-------------------------------
-- This list gets turned into a settings menu based on the data provided.
-- GENERAL
-- type (SETTING_TYPES): Defines the type of setting
-- (either) template: A frame template which inherits the base mixin WQT_SettingsBaseMixin;
-- (or) frameName: The name of a specific frame using the mixin WQT_SettingsBaseMixin;
-- label (string): The text the label should have
-- tooltip (string): Text displayed in the tooltip
-- valueChangedFunc (function(value)): what actions should be taken when the value is changed. Value is nil for buttons
-- isDisabled (boolean|function()): Boolean or function returning if the setting should be disabled
-- getValueFunc (function()): Function returning the current value of the setting
-- isNew (boolean): Mark the setting as new by adding an exclamantion mark to the label
-- SLIDER SPECIFIC
-- min (number): min value
-- max (number): max value
Expand All @@ -453,7 +455,8 @@ _V["SETTING_TYPES"] = {
-- options (table): a list for options in following format {[id] = {["label"] = "Displayed label", ["tooltip"] = "additional tooltip info (optional)"}, ...}

_V["SETTING_CATEGORIES"] = {
{["id"]="GENERAL", ["label"] = GENERAL}
{["id"]="DEBUG", ["label"] = "Debug"}
,{["id"]="GENERAL", ["label"] = GENERAL}
,{["id"]="QUESTLIST", ["label"] = _L["QUEST_LIST"]}
,{["id"]="MAPPINS", ["label"] = _L["MAP_PINS"]}
,{["id"]="WQTU", ["label"] = "Utilities"}
Expand Down Expand Up @@ -674,7 +677,7 @@ _V["SETTING_LIST"] = {
end
,["getValueFunc"] = function() return WQT.settings.pin.rewardTypeIcon; end
,["isDisabled"] = function() return WQT.settings.pin.disablePoI; end
}
}
}

_V["SETTING_UTILITIES_LIST"] = {
Expand All @@ -691,7 +694,6 @@ _V["SETTING_UTILITIES_LIST"] = {
}
}


_V["TIME_REMAINING_CATEGORY"] = {
["none"] = 0
,["expired"] = 1
Expand Down Expand Up @@ -1035,6 +1037,9 @@ local _patchNotes = {
,["new"] = {
"New Setting: Include dailies (default on). Found under General settings. Treat certain dailies as world quests. Only affects dailies which Blizzard themselves treats as world quests."
}
,["changes"] = {
"Made some improvements to map pins to reduce the chance of one completely overlapping another."
}
,["fixes"] = {
"Fixed WQTU 'load' setting not disabling when it is not enabled in the add-on list."
}
Expand Down
2 changes: 1 addition & 1 deletion Debug.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local function bts(bool)
end

local function GetQuestDump()
local counted, limit = WQT_Utils:GetQuestLogInfo(hiddenList)
local counted, limit = WQT_Utils:GetQuestLogInfo()
local output = FORMAT_QUEST_HEADER:format(counted, limit);

local title, level, suggestedGroup, isHeader, isCollapsed, isComplete, frequency, questID, startEvent, displayQuestID, isOnMap, hasLocalPOI, isTask, isBounty, isStory, isHidden, isScaling;
Expand Down
Loading

0 comments on commit 57fff5d

Please sign in to comment.