fixes for vfx display in ui
This commit is contained in:
		| @@ -229,8 +229,8 @@ public class DrawUserPair : DrawPairBase | |||||||
|         } |         } | ||||||
|  |  | ||||||
|         var isDisableVFX = entry.UserPair!.OwnPermissions.IsDisableVFX(); |         var isDisableVFX = entry.UserPair!.OwnPermissions.IsDisableVFX(); | ||||||
|         string disableVFXText = isDisableAnims ? "Enable VFX sync" : "Disable VFX sync"; |         string disableVFXText = isDisableVFX ? "Enable VFX sync" : "Disable VFX sync"; | ||||||
|         var disableVFXIcon = isDisableAnims ? FontAwesomeIcon.Sun : FontAwesomeIcon.Circle; |         var disableVFXIcon = isDisableVFX ? FontAwesomeIcon.Sun : FontAwesomeIcon.Circle; | ||||||
|         if (UiSharedService.IconTextButton(disableVFXIcon, disableVFXText)) |         if (UiSharedService.IconTextButton(disableVFXIcon, disableVFXText)) | ||||||
|         { |         { | ||||||
|             var permissions = entry.UserPair.OwnPermissions; |             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."); |                 + 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"; |             var vfxText = userVFXDisabled ? "Enable VFX sync" : "Disable VFX sync"; | ||||||
|             if (UiSharedService.IconTextButton(userAnimIcon, vfxText)) |             if (UiSharedService.IconTextButton(userVFXIcon, vfxText)) | ||||||
|             { |             { | ||||||
|                 ImGui.CloseCurrentPopup(); |                 ImGui.CloseCurrentPopup(); | ||||||
|                 var perm = groupDto.GroupUserPermissions; |                 var perm = groupDto.GroupUserPermissions; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 rootdarkarchon
					rootdarkarchon