WindowVX: Remove faulty cursor rect positioning logic
This commit is contained in:
		
							parent
							
								
									3277663944
								
							
						
					
					
						commit
						f036e83a2d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -761,8 +761,8 @@ struct WindowVXPrivate
 | 
			
		|||
			if (drawCursor)
 | 
			
		||||
			{
 | 
			
		||||
				Vec2i contTrans = pad.pos();
 | 
			
		||||
				contTrans.x += std::abs(-contentsOff.x) + cursorRect->x;
 | 
			
		||||
				contTrans.y += std::abs(-contentsOff.y) + cursorRect->y;
 | 
			
		||||
				contTrans.x += -contentsOff.x + cursorRect->x;
 | 
			
		||||
				contTrans.y += -contentsOff.y + cursorRect->y;
 | 
			
		||||
				shader.setTranslation(contTrans);
 | 
			
		||||
 | 
			
		||||
				TEX::setSmooth(true);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue