github nacular/doodle v0.5.0
0.5.0

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

Features

Multi-touch Support

Doodle now supports multiple pointers (i.e. touches) by default. So there is no additional work needed to enable this in apps.

  • PointerInputManager now tracks a collection of pointers and dispatches events to Views on a per-pointer basis.
  • PointerEvent now has information about the list of pointers (for the View and overall). This lets handlers support multi-touch.
  • Resizer now works better with multi-touch.
  • Added ability to suppress OS handling of PointerEvent. This is like consume, except it does not affect other app listeners.

Accessibility Support

This release stabilizes accessibility and brings a lot of new support to items in the Controls library.

Kotlin IR compiler Support

Apps can now choose to use either the IR or Legacy artifacts.

APIs

  • View now has a firstRender
    event and a rendered property.
  • View now has an opacity property (and change event).
  • Display now exposes childrenChanged event.
  • ListObserver and SetObserver now have to specify their source. This adds more semantics for observers, since they no longer only get the data structure that changed. An observer of Tree selection for example, will now know which Tree fired the change instead of the Tree's internal set.
  • Spinner's itemVisualizer now has access to it.
  • Removed pointerLocation from PointerInputService.

Fixes | Improvements

  • TableBehavior/TreeTableBehavior no longer uses callbacks to trigger rendering of specific parts of a Table. This approach was invalid since it imposed a 1-1 relationship between the behavior and Table. Instead, there are now APIs on Table that are visible within TableBehavior for doing this.
  • A View's children are now disabled if it is.
  • Button now disarms/resets model when it is disabled.
  • Fixed bug in z-order updating.
  • Fixed minor render bug in BasicSpinnerBehavior buttons.
  • Fixed View's children clip poly bug.
  • Bug fixes for Basic Spinner behaviors.
  • Work-around for iOS keyboard display with text-fields on single click.
  • Moved mockk dependency to jvmTest for now since mockk doesn't have JS (IR) support yet.

Dependencies

  • Kotlin -> 1.4.31
  • Coroutines -> 1.4.2
  • Kodein -> 7.5.0
  • Mockk -> 1.11.0
  • Log4J -> 1.7.30

Don't miss a new doodle release

NewReleases is sending notifications on new releases.