@@ -378,7 +378,6 @@ function S:LookingForGroupFrames()
378
378
S :HandleButton (LFGListFrame .CategorySelection .FindGroupButton )
379
379
LFGListFrame .CategorySelection .FindGroupButton :ClearAllPoints ()
380
380
LFGListFrame .CategorySelection .FindGroupButton :Point (' BOTTOMRIGHT' , - 6 , 3 )
381
-
382
381
383
382
local EntryCreation = LFGListFrame .EntryCreation
384
383
EntryCreation .Inset :StripTextures ()
@@ -434,30 +433,29 @@ function S:LookingForGroupFrames()
434
433
S :HandleButton (LFGListFrame .SearchPanel .BackButton )
435
434
S :HandleButton (LFGListFrame .SearchPanel .SignUpButton )
436
435
437
- local dumbbutton = LFGListFrame .SearchPanel .ScrollBox .StartGroupButton
438
- local fu = CreateFrame (" Frame" , " DumbButton" , E .UIParent )
439
- fu :SetFrameLevel (10 )
440
- fu :SetFrameStrata (" HIGH" )
441
- fu :Size (135 ,22 )
442
- fu :SetTemplate ()
443
- fu :SetPoint (dumbbutton :GetPoint ())
444
- fu .biatch = fu :CreateFontString (nil , " OVERLAY" , " GameFontHighlight" )
445
- fu .biatch :SetPoint (" CENTER" )
446
- fu .biatch :FontTemplate ()
447
- fu .biatch :SetText (_G .START_A_GROUP )
448
- fu :Hide ()
449
-
450
- dumbbutton :HookScript (" OnHide" , function ()
451
- fu :Hide ()
436
+ -- Monitor this button, this seems NOT to taint. But who knows
437
+ local StartGroupButton = LFGListFrame .SearchPanel .ScrollBox .StartGroupButton
438
+ local bu = CreateFrame (" Frame" , " StartGroupButton" , E .UIParent )
439
+ bu :SetFrameLevel (10 )
440
+ bu :SetFrameStrata (" HIGH" )
441
+ bu :Size (135 ,22 )
442
+ bu :SetTemplate ()
443
+ bu :SetPoint (StartGroupButton :GetPoint ())
444
+ bu .text = bu :CreateFontString (nil , " OVERLAY" , " GameFontHighlight" )
445
+ bu .text :SetPoint (" CENTER" )
446
+ bu .text :FontTemplate ()
447
+ bu .text :SetText (_G .START_A_GROUP )
448
+ bu :Hide ()
449
+
450
+ StartGroupButton :HookScript (" OnHide" , function ()
451
+ bu :Hide ()
452
452
end )
453
- dumbbutton :HookScript (" OnShow" , function ()
454
- fu :ClearAllPoints ()
455
- fu :SetPoint (dumbbutton :GetPoint ())
456
- fu :Show ()
453
+ StartGroupButton :HookScript (" OnShow" , function ()
454
+ bu :ClearAllPoints ()
455
+ bu :SetPoint (StartGroupButton :GetPoint ())
456
+ bu :Show ()
457
457
end )
458
458
459
-
460
-
461
459
LFGListFrame .SearchPanel .BackButton :ClearAllPoints ()
462
460
LFGListFrame .SearchPanel .BackButton :Point (' BOTTOMLEFT' , - 1 , 3 )
463
461
LFGListFrame .SearchPanel .SignUpButton :ClearAllPoints ()
0 commit comments