mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make the text ignores transformations on the scene
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
		
							parent
							
								
									1b392b35bc
								
							
						
					
					
						commit
						55f31dc011
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -493,6 +493,7 @@ void ProfileGraphicsView::plot_text(struct graphics_context *gc, text_render_opt | |||
| 	item->setPos(point.x() + dx, point.y() +dy ); | ||||
| 	item->setBrush( QBrush(profile_color[tro->color].first())); | ||||
| 	item->setPen( QPen(profile_color[BACKGROUND].first())); | ||||
| 	item->setFlag(QGraphicsItem::ItemIgnoresTransformations); | ||||
| 	scene()->addItem(item); | ||||
| 	qDebug() << item->pos(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue