mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fix time and half of depth lines.
Comment out most of the items on the profile since they are currently completely broken ( positioning, etc ). Also, remove the settingsChanged stuff from the DepthAxis because it doesn't have the shrinked / expanded size on it ( it sits on the profile code ) so I'll most probably move that to the profile settingsChanged in the future - or if anyone knows of a better place to have this, I'm all ears. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									266daa326d
								
							
						
					
					
						commit
						ed72aabde5
					
				
					 2 changed files with 68 additions and 40 deletions
				
			
		|  | @ -289,17 +289,17 @@ DepthAxis::DepthAxis() : showWithPPGraph(false) | |||
| 
 | ||||
| void DepthAxis::settingsChanged() | ||||
| { | ||||
| 	bool ppGraph = isPPGraphEnabled(); | ||||
| 	if ( ppGraph == showWithPPGraph){ | ||||
| 		return; | ||||
| 	} | ||||
| 
 | ||||
| 	if (ppGraph) { | ||||
| 		animateChangeLine(QLineF(0,2,0,60)); | ||||
| 	} else { | ||||
| 		animateChangeLine(QLineF(0,2,0,98)); | ||||
| 	} | ||||
| 	showWithPPGraph = ppGraph; | ||||
| // 	bool ppGraph = isPPGraphEnabled();
 | ||||
| // 	if ( ppGraph == showWithPPGraph){
 | ||||
| // 		return;
 | ||||
| // 	}
 | ||||
| //
 | ||||
| // 	if (ppGraph) {
 | ||||
| // 		animateChangeLine(shrinkedLine);
 | ||||
| // 	} else {
 | ||||
| // 		animateChangeLine(expandedLine);
 | ||||
| // 	}
 | ||||
| // 	showWithPPGraph = ppGraph;
 | ||||
| } | ||||
| 
 | ||||
| QColor TimeAxis::colorForValue(double value) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue