Remove SelectionMananger.last_selection_was_empty prop
@@ -14,26 +14,18 @@ export class SelectionManager extends HasProps
super(attrs, options)
@selector = new Selector()
@inspectors = {}
- @last_inspection_was_empty = {}
select: (renderer_views, geometry, final, append=false) ->
did_hit = false
-
for r in renderer_views
did_hit ||= r.hit_test(geometry, final, append)
-
@source.select.emit()
-
return did_hit
inspect: (renderer_view, geometry) ->
did_hit = false
@_set_inspector(renderer_view)
-
did_hit ||= renderer_view.hit_test(geometry, false, false, "inspect")
-
- @last_inspection_was_empty[renderer_view.model.id] = did_hit
-
@source.inspect.emit([renderer_view, {"geometry": geometry}])
return did_hit
