- Default width for death window is now 350 (up from 300).
- Use new animations is now enabled by default and will be applied to all users immediately. - Increased the amount the spells shown on the tooltip from 5 to 6. - The option to use the new animations has been removed from the options panel. - Fixed an issue with TinyThreat plugin where sometimes it trow errors.
This commit is contained in:
@@ -1017,7 +1017,7 @@ local default_profile = {
|
||||
pvp_as_group = true,
|
||||
use_battleground_server_parser = true,
|
||||
force_activity_time_pvp = true,
|
||||
death_tooltip_width = 300,
|
||||
death_tooltip_width = 350,
|
||||
override_spellids = true,
|
||||
all_players_are_group = false,
|
||||
|
||||
@@ -1087,7 +1087,7 @@ local default_profile = {
|
||||
no_alerts = false,
|
||||
quick_detection = false,
|
||||
faster_updates = false,
|
||||
use_animation_accel = false,
|
||||
use_animation_accel = true,
|
||||
},
|
||||
|
||||
--> tooltip
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--[[ options panel file --]]
|
||||
--[[ options panel file --]]
|
||||
|
||||
--[[
|
||||
search for "~number" without the quotes to quick access the page:
|
||||
@@ -2507,6 +2507,7 @@ function window:CreateFrame18()
|
||||
window:CreateLineBackground2 (frame18, "ClearCacheSlider", "ClearCacheLabel", "Reduces the chance of getting a serial number overlap when working with multiple realms.")
|
||||
|
||||
--> advanced animations
|
||||
--[[
|
||||
g:NewLabel (frame18, _, "$parentAdvancedAnimationsLabel", "AdvancedAnimationsLabel", "Use Animation Acceleration", "GameFontHighlightLeft")
|
||||
g:NewSwitch (frame18, _, "$parentAdvancedAnimationsSlider", "AdvancedAnimationsSlider", 60, 20, _, _, _detalhes.streamer_config.use_animation_accel, nil, nil, nil, nil, options_switch_template)
|
||||
|
||||
@@ -2519,8 +2520,8 @@ function window:CreateFrame18()
|
||||
end
|
||||
|
||||
window:CreateLineBackground2 (frame18, "AdvancedAnimationsSlider", "AdvancedAnimationsLabel", "Animation speed changes accordly to the amount of space the bar needs to travel.")
|
||||
|
||||
|
||||
--]]
|
||||
|
||||
--> anchoring
|
||||
local x = window.left_start_at
|
||||
titleFrame18:SetPoint (x, window.title_y_pos)
|
||||
@@ -2554,7 +2555,7 @@ function window:CreateFrame18()
|
||||
{"QuickDetectionLabel"},
|
||||
{"DisableMythicDungeonLabel"},
|
||||
{"ClearCacheLabel"},
|
||||
{"AdvancedAnimationsLabel"},
|
||||
--{"AdvancedAnimationsLabel"},
|
||||
}
|
||||
|
||||
window:arrange_menu (frame18, right_side, window.right_start_at, window.top_start_at)
|
||||
@@ -11678,7 +11679,7 @@ end --> if not window
|
||||
_G.DetailsOptionsWindow18QuickDetectionSlider.MyObject:SetValue (_detalhes.streamer_config.quick_detection)
|
||||
_G.DetailsOptionsWindow18DisableMythicDungeonSlider.MyObject:SetValue (_detalhes.streamer_config.disable_mythic_dungeon)
|
||||
_G.DetailsOptionsWindow18ClearCacheSlider.MyObject:SetValue (_detalhes.streamer_config.reset_spec_cache)
|
||||
_G.DetailsOptionsWindow18AdvancedAnimationsSlider.MyObject:SetValue (_detalhes.streamer_config.use_animation_accel)
|
||||
--_G.DetailsOptionsWindow18AdvancedAnimationsSlider.MyObject:SetValue (_detalhes.streamer_config.use_animation_accel)
|
||||
|
||||
--> window 17
|
||||
_G.DetailsOptionsWindow17CombatAlphaDropdown.MyObject:Select (editing_instance.hide_in_combat_type, true)
|
||||
|
||||
@@ -198,17 +198,16 @@ local function CreatePluginFrames (data)
|
||||
|
||||
local instance = ThreatMeter:GetPluginInstance()
|
||||
|
||||
row.textsize = instance.row_info.font_size
|
||||
|
||||
local font = SharedMedia:Fetch ("font", instance.row_info.font_face, true) or instance.row_info.font_face
|
||||
|
||||
--print (font, instance.row_info.font_face)
|
||||
|
||||
row.textfont = font
|
||||
row.texture = instance.row_info.texture
|
||||
row.shadow = instance.row_info.textL_outline
|
||||
|
||||
row.width = instance.baseframe:GetWidth()-5
|
||||
if (instance) then
|
||||
local font = SharedMedia:Fetch ("font", instance.row_info.font_face, true) or instance.row_info.font_face
|
||||
|
||||
row.textsize = instance.row_info.font_size
|
||||
row.textfont = font
|
||||
row.texture = instance.row_info.texture
|
||||
row.shadow = instance.row_info.textL_outline
|
||||
|
||||
row.width = instance.baseframe:GetWidth()-5
|
||||
end
|
||||
end
|
||||
|
||||
function ThreatMeter:RefreshRows()
|
||||
|
||||
+9
-1
@@ -83,6 +83,7 @@ function _G._detalhes:Start()
|
||||
self:InitializeOptionsWindow()
|
||||
self:InitializeAuraCreationWindow()
|
||||
self:InitializeCustomDisplayWindow()
|
||||
self:InitializeAPIWindow()
|
||||
|
||||
--> bookmarks
|
||||
if (self.switch.InitSwitch) then
|
||||
@@ -1671,7 +1672,14 @@ function _G._detalhes:Start()
|
||||
C_Timer.After (2, reset_player_detail_window)
|
||||
end
|
||||
|
||||
_detalhes.tooltip.tooltip_max_abilities = 5
|
||||
--enforce to show 6 abilities on the tooltip
|
||||
_detalhes.tooltip.tooltip_max_abilities = 6
|
||||
|
||||
--enforce to use the new animation code
|
||||
if (_detalhes.streamer_config) then
|
||||
_detalhes.streamer_config.use_animation_accel = true
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
_detalhes.AddOnLoadFilesTime = GetTime()
|
||||
|
||||
Reference in New Issue
Block a user