1. 05 8月, 2015 37 次提交
  2. 04 8月, 2015 3 次提交
    • J
      Merge pull request #436 from jamesr/event_disposition · 76e69eb2
      James Robinson 提交于
      Teach event system about disposition and make 'consumed' disposition …
      76e69eb2
    • V
      Merge pull request #439 from vlidholt/master · f9626a22
      Viktor Lidholt 提交于
      Refactors the sprite matrix handling to do most calculations in Dart
      f9626a22
    • J
      Teach event system about disposition and make 'consumed' disposition terminal · 8a361dde
      James Robinson 提交于
      This introduces the notion of event disposition and allows event
      targets (widgets and render objects) to consume events that should not
      be processed further. This is needed by the Switch component in the
      Drawer in the stocks example. The Switch is embedded in a DrawerItem.
      The Switch handles the gesture tap event to toggle its state and should
      handle pointer events to allow swiping and draw its own radial
      reaction. The DrawerItem also handles gesture taps to allow toggling
      the switch value when tapping anywhere on the drawer and to draw its
      own ink splash. When tapping on the switch, both the switch's render
      object and the DrawerItem's listener are in the event dispatch path.
      The Switch needs to signal in some fashion that it consumed the event
      so the DrawerItem does not also try to toggle the switch's state.
      8a361dde