Skip to content

Commit 85b3288

Browse files
committed
Fixing layout issues caused by tasks being enabled.
1 parent c8edbd2 commit 85b3288

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Layout.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public class Layout : Object {
321321
n.posx = px - (cw + margin);
322322
break;
323323
case NodeSide.RIGHT :
324-
n.posx = px + (pw + margin) - n.parent.task_width();
324+
n.posx = px + (pw + margin);
325325
break;
326326
case NodeSide.TOP :
327327
double cx, cy, cw, ch;

src/Node.vala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2528,11 +2528,8 @@ public class Node : Object {
25282528
//-------------------------------------------------------------
25292529
// Propagates task information toward the leaf nodes.
25302530
private void propagate_task_info_down( bool? enable, bool? done ) {
2531-
stdout.printf( "In propagate_task_info_down, enable: %s\n", enable.to_string() );
25322531
if( is_leaf() ) {
2533-
stdout.printf( "Found leaf\n" );
25342532
if( enable != null ) {
2535-
stdout.printf( " HERE!\n" );
25362533
_task_count = enable ? 1 : 0;
25372534
}
25382535
if( _task_count == 1 ) {

0 commit comments

Comments
 (0)