github nacular/doodle v0.7.1
0.7.1

latest releases: v0.11.5, v0.11.4, v0.11.3...
3 years ago

APIs

  • BasicSplitPanelBehavior's constructor now takes background and dividerBackground

Fixes | Improvements

Better Scrolling Performance [Web]

Perceived scroll performance has been dramatically improved in this release. This applies to Views that use displayRectChanged events to update themselves. List and many other controls do this to support extremely large collections. They store only what is needed to render the current viewport. The drawback to this before, was that a user could see the gaps while scrolling very quickly.

This has now been fixed, so these views appear without any tearing as the user scrolls.

As a result, List and similar collection controls default to caching 0 items outside the viewport. This was some non-zero value before
to provide some buffer for scroll tearing.

  • General

    • CommonSplitPanelBehavior now consumes pointer pressed event when it occurs on the divider. This improves usability on mobile
    • BasicTheme now sets SplitPanel background.
    • ScrollPanel layout now uses requiresLayout to request update when content idealSize changes and the panel is set to match it.
    • List no longer does extraneous layouts while scrolling
    • MonthPanel now tries to minimize doing re-layouts.
    • Minor performance improvements
    • Rectangle.toPath now sanitizes the given radius
    • Fixed bug in List that sometimes prevented size updates when items removed.
    • Fixed issue where view was not removed from Display children if moved to another Container.
    • Fixed issue in List display rect rendering.
    • Fixed incorrect item returned from VerticalListPositioner and HorizontalListPositioner in some cases.
    • Fixed bug in IntProgressionModel size.
    • Fixed bugs in SplitPanel handling of visible divider.
  • Browser

    • Replaced use of innerHTML with textContent.
    • Fixed render edge-case
    • Fixed issue where native ScrollPanel behavior did not properly handle content being moved to another container
    • Fixed rendering issue where View canvas contents remain visible if clipCanvasToBounds is false and the View is scaled to 0 size
  • Desktop

    • Now using native look/feel for Swing "native" controls

Don't miss a new doodle release

NewReleases is sending notifications on new releases.