You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SyWindowViewportAccumulator, the accumulate method assumes that negative offsets are invalid, and it clamps them. Scroll panes use negative offsets inside viewports. This test fails immediately:
@Test
public void testNegativeOffset()
{
final var accum =
SyWindowViewportAccumulator.create();
accum.reset(300, 300);
accum.accumulate(PAreasI.create(-100, -100, 200, 200));
assertEquals(-100, accum.minimumX());
assertEquals(-100, accum.minimumY());
assertEquals(100, accum.maximumX());
assertEquals(100, accum.maximumY());
}
The text was updated successfully, but these errors were encountered:
Explicitly require all components to have a screen reference. This
allows them reliable access to various services at all times.
Implement multi-line text views with selection.
Implement scrollable text areas.
Affects: #42
Affects: #14
Affects: #13
In
SyWindowViewportAccumulator
, theaccumulate
method assumes that negative offsets are invalid, and it clamps them. Scroll panes use negative offsets inside viewports. This test fails immediately:The text was updated successfully, but these errors were encountered: