Commit 324e82e
Fix PrecisionRectangle#getBottom inconsistency
The y value of PrecisionRectangle#getBottom can return a different
y value to PrecisionRectangle#getBottomLeft and
PrecisionRectangle#getBottomRight because the first uses the int values
the later two use precision values. This commit adapt getBottom to
use the precision values as well.1 parent 06dda7d commit 324e82e
File tree
2 files changed
+16
-1
lines changed- org.eclipse.draw2d.tests/src/org/eclipse/draw2d/test
- org.eclipse.draw2d/src/org/eclipse/draw2d/geometry
2 files changed
+16
-1
lines changedLines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
177 | 192 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
0 commit comments