Commit 93687a7
authored
I discovered DH-14062 independently and found that this method
occasionally was prematurely returning when the view should stay stuck
to the bottom of the contents.
Sometimes `pane.scrollTop` is sometimes 0.5 less than the expected value
when tailing the content. This `Math.round` bumps it up. I only saw
`xxxxx.0` and `xxxxx.5` values during investigation, but I did not do
any further research on the origin of the value or the rounding error.
Here is a sample groovy snippet that reproduces 100% of the time:
```groovy
import io.deephaven.internal.log.LoggerFactory
log = LoggerFactory.getLogger(Object.class
log.error().append(new RuntimeException()).endl()
t = io.deephaven.engine.util.TableTools.timeTable("PT1s")
```
1 parent 45e2ada commit 93687a7
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
618 | 621 | | |
619 | 622 | | |
620 | 623 | | |
| |||
0 commit comments