mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:47:21 +01:00
fixes for vfx display in ui
This commit is contained in:
parent
4c88e0e249
commit
ff73c016eb
2 changed files with 3 additions and 3 deletions
|
|
@ -229,8 +229,8 @@ public class DrawUserPair : DrawPairBase
|
|||
}
|
||||
|
||||
var isDisableVFX = entry.UserPair!.OwnPermissions.IsDisableVFX();
|
||||
string disableVFXText = isDisableAnims ? "Enable VFX sync" : "Disable VFX sync";
|
||||
var disableVFXIcon = isDisableAnims ? FontAwesomeIcon.Sun : FontAwesomeIcon.Circle;
|
||||
string disableVFXText = isDisableVFX ? "Enable VFX sync" : "Disable VFX sync";
|
||||
var disableVFXIcon = isDisableVFX ? FontAwesomeIcon.Sun : FontAwesomeIcon.Circle;
|
||||
if (UiSharedService.IconTextButton(disableVFXIcon, disableVFXText))
|
||||
{
|
||||
var permissions = entry.UserPair.OwnPermissions;
|
||||
|
|
|
|||
|
|
@ -626,7 +626,7 @@ internal sealed class GroupPanel
|
|||
+ Environment.NewLine + "Note: this setting does not apply to individual pairs that are also in the syncshell.");
|
||||
|
||||
var vfxText = userVFXDisabled ? "Enable VFX sync" : "Disable VFX sync";
|
||||
if (UiSharedService.IconTextButton(userAnimIcon, vfxText))
|
||||
if (UiSharedService.IconTextButton(userVFXIcon, vfxText))
|
||||
{
|
||||
ImGui.CloseCurrentPopup();
|
||||
var perm = groupDto.GroupUserPermissions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue