mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	added graphic draw size fix
This commit is contained in:
		
							parent
							
								
									e8eb85b11f
								
							
						
					
					
						commit
						35ae658703
					
				
					 2 changed files with 1 additions and 1 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -65,7 +65,7 @@ namespace Rimworld_Animations {
 | 
			
		|||
				}
 | 
			
		||||
				Graphic addonGraphic = comp.addonGraphics[i];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
				addonGraphic.drawSize = ((renderFlags.FlagSet(PawnRenderFlags.Portrait) && ba.drawSizePortrait != Vector2.zero) ? ba.drawSizePortrait : ba.drawSize) * (ba.scaleWithPawnDrawsize ? (ba.alignWithHead ? (renderFlags.FlagSet(PawnRenderFlags.Portrait) ? comp.customPortraitHeadDrawSize : comp.customHeadDrawSize) : (renderFlags.FlagSet(PawnRenderFlags.Portrait) ? comp.customPortraitDrawSize : comp.customDrawSize)) : Vector2.one) * 1.5f;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
				if ((ba.drawnInBed && !forceDrawForBody) || ba.alignWithHead)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue