mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:20:06 +00:00 
			
		
		
		
	Disable map pitch
This commit is contained in:
		
							parent
							
								
									1c5199dbfd
								
							
						
					
					
						commit
						be33ff8cef
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		|  | @ -1026,12 +1026,7 @@ void MapWidget::mouseMoveEvent(QMouseEvent* ev) | ||||||
| 
 | 
 | ||||||
|    if (!delta.isNull()) |    if (!delta.isNull()) | ||||||
|    { |    { | ||||||
|       if (ev->buttons() == Qt::LeftButton && |       if (ev->buttons() == Qt::LeftButton) | ||||||
|           ev->modifiers() & Qt::ShiftModifier) |  | ||||||
|       { |  | ||||||
|          p->map_->pitchBy(delta.y()); |  | ||||||
|       } |  | ||||||
|       else if (ev->buttons() == Qt::LeftButton) |  | ||||||
|       { |       { | ||||||
|          p->map_->moveBy(delta); |          p->map_->moveBy(delta); | ||||||
|       } |       } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat