Fossil SCM
In the pie-chart generator, if there is a wedge pointing straight down, make sure its text label flows off to the right, not the left.
Commit
bb9c6a6f29ae81cedfd2f2740359f39676bf2b98
Parent
f481fd6c9c000ca…
1 file changed
+1
-1
+1
-1
| --- src/piechart.c | ||
| +++ src/piechart.c | ||
| @@ -242,11 +242,11 @@ | ||
| 242 | 242 | y4 = rLwrLeft; |
| 243 | 243 | } |
| 244 | 244 | rLwrLeft = y4 + TEXT_HEIGHT; |
| 245 | 245 | } |
| 246 | 246 | } |
| 247 | - if( x4<=cx ){ | |
| 247 | + if( x4<cx ){ | |
| 248 | 248 | x5 = x4 - 1.0; |
| 249 | 249 | zAnc = "end"; |
| 250 | 250 | }else{ |
| 251 | 251 | x5 = x4 + 1.0; |
| 252 | 252 | zAnc = "start"; |
| 253 | 253 |
| --- src/piechart.c | |
| +++ src/piechart.c | |
| @@ -242,11 +242,11 @@ | |
| 242 | y4 = rLwrLeft; |
| 243 | } |
| 244 | rLwrLeft = y4 + TEXT_HEIGHT; |
| 245 | } |
| 246 | } |
| 247 | if( x4<=cx ){ |
| 248 | x5 = x4 - 1.0; |
| 249 | zAnc = "end"; |
| 250 | }else{ |
| 251 | x5 = x4 + 1.0; |
| 252 | zAnc = "start"; |
| 253 |
| --- src/piechart.c | |
| +++ src/piechart.c | |
| @@ -242,11 +242,11 @@ | |
| 242 | y4 = rLwrLeft; |
| 243 | } |
| 244 | rLwrLeft = y4 + TEXT_HEIGHT; |
| 245 | } |
| 246 | } |
| 247 | if( x4<cx ){ |
| 248 | x5 = x4 - 1.0; |
| 249 | zAnc = "end"; |
| 250 | }else{ |
| 251 | x5 = x4 + 1.0; |
| 252 | zAnc = "start"; |
| 253 |