 
   mousedownCaptureListener: (event) ->
     super
-    if zones = findPointZones event.localX, event.localY, @zones
+    if zones = zonesFromPoint event.localX, event.localY, @zones
       event.zones = zones
       for name in ['active', 'hover', 'normal'] when zones[name]
         state = name


  mouseupCaptureListener: (event) ->
    super
    if zones = findPointZones event.localX, event.localY, @zones
      event.zones = zones
      for name in ['active', 'hover', 'normal'] when zones[name]
        state = name

Event = require './event'

zonesFromPoint = require '../helper/zones-from-point'

module.exports = class Shape extends require './element'
  constructor: (args = {}) ->
