From 82ab768ed8f2548cfb22ab43754bcd967b236222 Mon Sep 17 00:00:00 2001 From: Glade Lynch Date: Sat, 2 Feb 2019 15:08:23 -0700 Subject: [PATCH] bg fixes and combat --- core/config_defaults.lua | 8 ++++++-- core/media_functions.lua | 2 +- lib/bdConfigLib1.0.lua | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/core/config_defaults.lua b/core/config_defaults.lua index c84823b..606afc6 100644 --- a/core/config_defaults.lua +++ b/core/config_defaults.lua @@ -889,6 +889,10 @@ shared:Register("border", "bdShadow", bdCore.media.shadow) type = "tab", value = "Viewports" }} + bdCore.general[#bdCore.general+1] = {text = { + type = "text", + value = "Personal recommendation: a 60px viewport at the top and bottom of your screen can mimic an extended camera zoom distance.", + }} bdCore.general[#bdCore.general+1] = {topViewport = { type = "slider", value = 0, @@ -901,7 +905,7 @@ shared:Register("border", "bdShadow", bdCore.media.shadow) bdCore.general[#bdCore.general+1] = {topViewportBGColor={ type="color", - value = {.11,.15,.18, 1}, + value = {.09,.1,.13, 1}, name="Top Viewport Color", callback = function() bdCore:triggerEvent("bdcore_redraw") end }} @@ -918,7 +922,7 @@ shared:Register("border", "bdShadow", bdCore.media.shadow) bdCore.general[#bdCore.general+1] = {bottomViewportBGColor={ type="color", - value = {.11,.15,.18, 1}, + value = {.09,.1,.13, 1}, name="Bottom Viewport Color", callback = function() bdCore:triggerEvent("bdcore_redraw") end }} diff --git a/core/media_functions.lua b/core/media_functions.lua index cbee1b0..2aad451 100644 --- a/core/media_functions.lua +++ b/core/media_functions.lua @@ -147,7 +147,7 @@ function bdCore:RGBPercToHex(r, g, b) end -- make it purdy -function bdCore:setBackdrop(frame,resize) +function bdCore:setBackdrop(frame, resize) if (frame.background) then return end diff --git a/lib/bdConfigLib1.0.lua b/lib/bdConfigLib1.0.lua index 3e46389..1c8ba38 100644 --- a/lib/bdConfigLib1.0.lua +++ b/lib/bdConfigLib1.0.lua @@ -1409,7 +1409,7 @@ do local profile_settings = {} profile_settings[#profile_settings+1] = {intro = { type = "text", - value = "You can use profiles to store configuration per character and spec automatically, or save templates to use when needed." + value = "You can use profiles to store configuration per character and spec automatically, or save templates to use when needed. Changing profiles may require a UI reload." }} -- create new profile profile_settings[#profile_settings+1] = {createprofile = {