@@ -308,26 +308,6 @@ private void DrawSideBar()
308
308
}
309
309
}
310
310
}
311
-
312
- if ( wholeWidth <= 60 * Scale
313
- ? IconSet . GetTexture ( "https://storage.ko-fi.com/cdn/brandasset/kofi_s_logo_nolabel.png" , out var texture )
314
- : IconSet . GetTexture ( "https://storage.ko-fi.com/cdn/brandasset/kofi_bg_tag_dark.png" , out texture ) )
315
- {
316
- var width = Math . Min ( 150 * Scale , Math . Max ( Scale * MIN_COLUMN_WIDTH , Math . Min ( wholeWidth , texture . Width ) ) ) ;
317
- var size = new Vector2 ( width , width * texture . Height / texture . Width ) ;
318
- size *= MathF . Max ( Scale * MIN_COLUMN_WIDTH / size . Y , 1 ) ;
319
- var result = false ;
320
- ImGuiHelper . DrawItemMiddle ( ( ) =>
321
- {
322
- ImGui . SetCursorPosY ( ImGui . GetWindowSize ( ) . Y + ImGui . GetScrollY ( ) - size . Y ) ;
323
- result = ImGuiHelper . NoPaddingNoColorImageButton ( texture . ImGuiHandle , size , "Donate Plugin" ) ;
324
- } , wholeWidth , size . X ) ;
325
-
326
- if ( result )
327
- {
328
- Util . OpenLink ( "https://ko-fi.com/B0B0IN5DX" ) ;
329
- }
330
- }
331
311
}
332
312
}
333
313
@@ -542,12 +522,13 @@ private static void DrawRotationCombo(float comboSize, Type[] rotations, ICustom
542
522
{
543
523
if ( DataCenter . IsPvP )
544
524
{
545
- Service . Config . PvPRotationChoice = r . GetType ( ) . FullName ;
525
+ Service . Config . PvPRotationChoice = r . FullName ;
546
526
}
547
527
else
548
528
{
549
- Service . Config . RotationChoice = r . GetType ( ) . FullName ;
529
+ Service . Config . RotationChoice = r . FullName ;
550
530
}
531
+ Service . Config . Save ( ) ;
551
532
}
552
533
ImguiTooltips . HoveredTooltip ( rAttr . Description ) ;
553
534
ImGui . PopStyleColor ( ) ;
@@ -698,19 +679,6 @@ private static void DrawAbout()
698
679
}
699
680
}
700
681
}
701
-
702
- var sayHelloCount = OtherConfiguration . RotationSolverRecord . SayingHelloCount ;
703
- if ( sayHelloCount > 0 )
704
- {
705
- using var color = ImRaii . PushColor ( ImGuiCol . Text , new Vector4 ( 0.2f , 0.8f , 0.95f , 1 ) ) ;
706
- var countStr = string . Format ( UiString . ConfigWindow_About_SayHelloCount . Local ( ) , sayHelloCount ) ;
707
-
708
- ImGuiHelper . DrawItemMiddle ( ( ) =>
709
- {
710
- ImGui . TextWrapped ( countStr ) ;
711
- } , width , ImGui . CalcTextSize ( countStr ) . X ) ;
712
- }
713
-
714
682
_aboutHeaders . Draw ( ) ;
715
683
}
716
684
@@ -1724,7 +1692,9 @@ private static void DrawRotationsLoaded()
1724
1692
if ( IconSet . GetTexture ( IconSet . GetJobIcon ( jobs . Key , IconType . Framed ) , out var texture , 62574 ) )
1725
1693
ImGui . Image ( texture . ImGuiHandle , Vector2 . One * 30 * Scale ) ;
1726
1694
1727
- ImguiTooltips . HoveredTooltip ( string . Join ( '\n ' , jobs . Select ( t => t . GetCustomAttribute < UIAttribute > ( ) ? . Name ?? t . Name ) ) ) ;
1695
+ ImguiTooltips . HoveredTooltip ( string . Join ( '\n ' , jobs . Select ( t => t . GetCustomAttribute < UIAttribute > ( ) ? . Name ?? t . Name ) ) +
1696
+ Environment . NewLine +
1697
+ string . Join ( '\n ' , jobs . Select ( t => t . GetCustomAttribute < RotationAttribute > ( ) ? . Type ?? CombatType . None ) ) ) ;
1728
1698
}
1729
1699
1730
1700
ImGui . TableNextColumn ( ) ;
@@ -2562,6 +2532,7 @@ private static void DrawNextAction()
2562
2532
ImGui . Text ( "Ability Remain: " + DataCenter . AbilityRemain . ToString ( ) ) ;
2563
2533
ImGui . Text ( "Action Remain: " + DataCenter . AnimationLocktime . ToString ( ) ) ;
2564
2534
ImGui . Text ( "Weapon Remain: " + DataCenter . WeaponRemain . ToString ( ) ) ;
2535
+ ImGui . Text ( "Animation Lock Delay: " + ActionManagerHelper . GetCurrentAnimationLock ( ) . ToString ( ) ) ;
2565
2536
}
2566
2537
2567
2538
private static void DrawLastAction ( )
0 commit comments