change the way how MapLocationDialog sets marker on Windows
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							parent
							
								
									e41d4946f8
								
							
						
					
					
						commit
						a74e7847b2
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -133,8 +133,13 @@ void MapLocationDialog::paintEvent(QPaintEvent *ev) | |||
|     long xpos_pr; | ||||
|     long ypos_pr; | ||||
|     if (screenRatioPR != 1) { | ||||
| #ifdef GTA5SYNC_WIN | ||||
|         xpos_pr = xpos_mp - pointMarkerHalfSize; | ||||
|         ypos_pr = ypos_mp + pointMarkerHalfSize; | ||||
| #else | ||||
|         xpos_pr = xpos_mp - pointMarkerHalfSize + screenRatioPR; | ||||
|         ypos_pr = ypos_mp + pointMarkerHalfSize - screenRatioPR; | ||||
| #endif | ||||
|     } | ||||
|     else { | ||||
|         xpos_pr = xpos_mp - pointMarkerHalfSize; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue