Skip to content

Instantly share code, notes, and snippets.

View ryanwilliams's full-sized avatar
💭
I may be slow to respond.

Carbon Based Lifeform ryanwilliams

💭
I may be slow to respond.
View GitHub Profile
widgetAtPoint: (point) ->
_widgetsInTouch = []
for widget,i in @widgets
continue if widget instanceof App.Views.TextWidget
if widget.getIsVisible() and widget.isPointInside(point)
_widgetsInTouch[i] = widget
_widgetsInTouch.sort (a, b) ->