Skip to content

Commit

Permalink
remove calls to Component._draw_component (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronayres35 authored May 18, 2021
1 parent 54a1b92 commit 86ec92e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions chaco/layers/status_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ def overlay(self, other_component, gc, view_bounds=None, mode="normal"):

self.document.render(gc)

self._draw_component(gc, view_bounds, mode)

def fade_out(self):
interval = self.fade_out_time / self.fade_out_steps
self.timer = Timer(interval, self._fade_out_step)
Expand Down
2 changes: 0 additions & 2 deletions chaco/layers/svg_range_selection_overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ def overlay(self, component, gc, view_bounds=None, mode="normal"):

self.document.render(gc)

self._draw_component(gc, view_bounds, mode)

def _get_selection_screencoords(self):
"""Returns a tuple of (x1, x2) screen space coordinates of the start
and end selection points.
Expand Down

0 comments on commit 86ec92e

Please sign in to comment.