@@ -1675,7 +1675,8 @@ local function BuildGroupieWindow()
1675
1675
---- ----------------------------------
1676
1676
CharSheetSummaryFrame = _G [" CharacterModelFrame" ]:CreateFontString (" GroupieCharSheetAddin" , " OVERLAY" ,
1677
1677
" GameFontNormalSmall" )
1678
- CharSheetSummaryFrame :SetPoint (" LEFT" , CharSheetSummaryFrame :GetParent (), " LEFT" , 8 , - 60 )
1678
+ CharSheetSummaryFrame :SetPoint (" LEFT" , CharSheetSummaryFrame :GetParent (), " LEFT" , 8 +
1679
+ addon .db .global .charSheetXOffset , - 60 + addon .db .global .charSheetYOffset )
1679
1680
CharSheetSummaryFrame :SetJustifyH (" LEFT" )
1680
1681
1681
1682
---- ---------
@@ -1953,6 +1954,8 @@ function addon:OnInitialize()
1953
1954
talentTooltips = true ,
1954
1955
gearSummaryTooltips = true ,
1955
1956
charSheetGear = true ,
1957
+ charSheetXOffset = 0 ,
1958
+ charSheetYOffset = 0 ,
1956
1959
announceInstanceReset = true ,
1957
1960
showedv161InfoPopup = false ,
1958
1961
lastShowedInfoPopup = 1.63 ,
@@ -2722,7 +2725,7 @@ function addon.SetupConfig()
2722
2725
charSheetGearToggle = {
2723
2726
type = " toggle" ,
2724
2727
name = " Enable Gear Summary on Your Character Sheet" ,
2725
- order = 10 ,
2728
+ order = 11 ,
2726
2729
width = " full" ,
2727
2730
get = function (info ) return addon .db .global .charSheetGear end ,
2728
2731
set = function (info , val )
@@ -2737,7 +2740,7 @@ function addon.SetupConfig()
2737
2740
announceResetToggle = {
2738
2741
type = " toggle" ,
2739
2742
name = " Announce Instance Reset in Party/Raid Chat" ,
2740
- order = 11 ,
2743
+ order = 10 ,
2741
2744
width = " full" ,
2742
2745
get = function (info ) return addon .db .global .announceInstanceReset end ,
2743
2746
set = function (info , val )
@@ -2752,15 +2755,67 @@ function addon.SetupConfig()
2752
2755
spacerdesc4 = { type = " description" , name = " " , width = " full" , order = 12 },
2753
2756
header2 = {
2754
2757
type = " description" ,
2755
- name = " |cff" .. addon .groupieSystemColor .. L [ " GlobalOptions " ]. LFGData ,
2758
+ name = " |cff" .. addon .groupieSystemColor .. " Gear Summary Offsets " ,
2756
2759
order = 13 ,
2757
2760
fontSize = " medium"
2758
2761
},
2762
+ spacerdesc5 = { type = " description" , name = " " , width = " full" , order = 14 },
2763
+ header3 = {
2764
+ type = " description" ,
2765
+ name = " |cff" .. addon .groupieSystemColor .. " X Offset" ,
2766
+ order = 15 ,
2767
+ fontSize = " medium"
2768
+ },
2769
+ charSheetXSlider = {
2770
+ type = " range" ,
2771
+ name = " " ,
2772
+ min = 0 ,
2773
+ max = 150 ,
2774
+ step = 1 ,
2775
+ order = 16 ,
2776
+ width = 1.5 ,
2777
+ set = function (info , val )
2778
+ addon .db .global .charSheetXOffset = val
2779
+ CharSheetSummaryFrame :SetPoint (" LEFT" , CharSheetSummaryFrame :GetParent (), " LEFT" ,
2780
+ 8 + addon .db .global .charSheetXOffset ,
2781
+ - 60 + addon .db .global .charSheetYOffset )
2782
+ end ,
2783
+ get = function (info ) return addon .db .global .charSheetXOffset end ,
2784
+ },
2785
+ header4 = {
2786
+ type = " description" ,
2787
+ name = " |cff" .. addon .groupieSystemColor .. " Y Offset" ,
2788
+ order = 17 ,
2789
+ fontSize = " medium"
2790
+ },
2791
+ charSheetYSlider = {
2792
+ type = " range" ,
2793
+ name = " " ,
2794
+ min = 0 ,
2795
+ max = 150 ,
2796
+ step = 1 ,
2797
+ order = 18 ,
2798
+ width = 1.5 ,
2799
+ set = function (info , val )
2800
+ addon .db .global .charSheetYOffset = val
2801
+ CharSheetSummaryFrame :SetPoint (" LEFT" , CharSheetSummaryFrame :GetParent (), " LEFT" ,
2802
+ 8 + addon .db .global .charSheetXOffset ,
2803
+ - 60 + addon .db .global .charSheetYOffset )
2804
+ end ,
2805
+ get = function (info ) return addon .db .global .charSheetYOffset end ,
2806
+ },
2807
+ spacerdesc6 = { type = " description" , name = " " , width = " full" , order = 19 },
2808
+ header5 = {
2809
+ type = " description" ,
2810
+ name = " |cff" .. addon .groupieSystemColor .. L [" GlobalOptions" ].LFGData ,
2811
+ order = 20 ,
2812
+ fontSize = " medium"
2813
+ },
2759
2814
preserveDurationDropdown = {
2760
2815
type = " select" ,
2761
2816
style = " dropdown" ,
2762
2817
name = " " ,
2763
- order = 14 ,
2818
+ order = 21 ,
2764
2819
width = 1.4 ,
2765
2820
values = { [1 ] = L [" GlobalOptions" ].DurationDropdown [" 1" ],
2766
2821
[2 ] = L [" GlobalOptions" ].DurationDropdown [" 2" ],
@@ -2769,11 +2824,11 @@ function addon.SetupConfig()
2769
2824
set = function (info , val ) addon .db .global .minsToPreserve = val end ,
2770
2825
get = function (info ) return addon .db .global .minsToPreserve end ,
2771
2826
},
2772
- spacerdesc5 = { type = " description" , name = " " , width = " full" , order = 15 },
2773
- header3 = {
2827
+ spacerdesc7 = { type = " description" , name = " " , width = " full" , order = 22 },
2828
+ header6 = {
2774
2829
type = " description" ,
2775
2830
name = " |cff" .. addon .groupieSystemColor .. L [" GlobalOptions" ].UIScale ,
2776
- order = 16 ,
2831
+ order = 23 ,
2777
2832
fontSize = " medium"
2778
2833
},
2779
2834
scaleSlider = {
@@ -2782,7 +2837,7 @@ function addon.SetupConfig()
2782
2837
min = 0.5 ,
2783
2838
max = 2.0 ,
2784
2839
step = 0.1 ,
2785
- order = 17 ,
2840
+ order = 24 ,
2786
2841
set = function (info , val )
2787
2842
addon .db .global .UIScale = val
2788
2843
GroupieFrame :SetScale (val )
0 commit comments