Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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") ```
- Loading branch information