Skip to content

Release 0.4.0

Latest
Compare
Choose a tag to compare
@ManuelOverdijk ManuelOverdijk released this 09 Jun 13:11
· 29 commits to develop since this release

Major version release

Breaking change: Made all HTML changes go through DOMBuffer to ensure that no reflows are caused

  • Removed unnecessary checks of target.offsetWidth that Surface did too often for true sizing
  • Added spec property “hide” that will set the transform matrix to 0, to prevent further propagation of manipulation. This will be set automatically for all renderable with opacity set to 0
  • Made the ContainerSurface stop querying its context size
  • Surface now uses textContent instead of innerHTML when applicable, for performance reasons
  • Made all events go through a global event handler when possible to reduce the number of calls to addEventListener
  • Made the Engine use performance.now() instead of Date.now() to gain greater accuracy in knowing when to skip frames
  • Enabled touch move by default to spare the non-passive listener
  • Added css property zIndex duplication of the z index of the matrix3d by default
  • Added priority levels to indicate whether a certain property should animate