- Plugin Vanguard: got full rewrite and now it is more easy to use.
- Plugin TimeAttack: fixed problem where sometimes required a reload to start a new time. - Plugin Damage the Game!: fixed a problem where sometimes the time didn't started after level 2. - Custom display 'Health Potion & Stone' now also track Healing Tonic. - Custom display 'Damage Taken by Spell' now track more spells and also melee hits. - Added 'Editing Group' check box on option panel, when enabled, settings changed also modifies on all windows in the group. - Changing window's skin doesn't change any more settings not related with appearance, for example, Auto-Hide, Switches.\n\n - Menus now uses 'Friz Quadrata TT' font as default, also added an option to change it on options panel -> miscellaneous. - 'Switch to Current' feature now switches all windows which have this option enabled. - The message telling to use '/details reinstall' now only shows if a problem happen during the addon load process. - Segments Saved option now can be set to 25, up from 5. - Attempt to fix the bug with the monk spell 'Storm, Earth, and Fire'. - Fixed 'Icon Pick' panel. - Fixed bug when reporting friendly fire through player detail window. - Fixed bug with report window where sometimes it was reporting on a wrong channel. - Fixed Auto-Hide where it wasn't hiding the wallpaper of the window.
This commit is contained in:
@@ -18,6 +18,51 @@ function _detalhes:ResetInstanceConfig (maintainsnap)
|
||||
end
|
||||
end
|
||||
|
||||
_detalhes.instance_skin_ignored_values = {
|
||||
["menu_icons"] = true,
|
||||
["auto_hide"] = true,
|
||||
["scale"] = true,
|
||||
["following"] = true,
|
||||
["auto_current"] = true,
|
||||
["bars_grow_direction"] = true,
|
||||
["bars_sort_direction"] = true,
|
||||
["auto_hide_menu"] = true,
|
||||
["menu_alpha"] = true,
|
||||
["total_bar"] = true,
|
||||
["hide_in_combat"] = true,
|
||||
["hide_out_of_combat"] = true,
|
||||
["hide_in_combat_type"] = true,
|
||||
["hide_in_combat_alpha"] = true,
|
||||
["switch_all_roles_in_combat"] = true,
|
||||
["switch_all_roles_after_wipe"] = true,
|
||||
["switch_damager"] = true,
|
||||
["switch_damager_in_combat"] = true,
|
||||
["switch_healer"] = true,
|
||||
["switch_healer_in_combat"] = true,
|
||||
["switch_tank"] = true,
|
||||
["switch_tank_in_combat"] = true,
|
||||
["strata"] = true,
|
||||
["grab_on_top"] = true,
|
||||
}
|
||||
|
||||
function _detalhes:ResetInstanceConfigKeepingValues (maintainsnap)
|
||||
for key, value in pairs (_detalhes.instance_defaults) do
|
||||
if (not _detalhes.instance_skin_ignored_values [key]) then
|
||||
if (type (value) == "table") then
|
||||
self [key] = table_deepcopy (value)
|
||||
else
|
||||
self [key] = value
|
||||
end
|
||||
end
|
||||
end
|
||||
if (not maintainsnap) then
|
||||
self.snap = {}
|
||||
self.horizontalSnap = nil
|
||||
self.verticalSnap = nil
|
||||
self:LockInstance (false)
|
||||
end
|
||||
end
|
||||
|
||||
function _detalhes:LoadInstanceConfig()
|
||||
for key, value in pairs (_detalhes.instance_defaults) do
|
||||
if (self [key] == nil) then
|
||||
|
||||
Reference in New Issue
Block a user