Skip to content

Commit

Permalink
don't do spinner when method skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Jan 3, 2024
1 parent 9102864 commit 4362f11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -714,8 +714,8 @@ def _update_stretch_hist_sync(self, msg={}):

@observe('is_active', 'layer_selected', 'viewer_selected',
'stretch_hist_zoom_limits')
@with_spinner('stretch_hist_spinner')
@skip_if_no_updates_since_last_active()
@with_spinner('stretch_hist_spinner')
def _update_stretch_histogram(self, msg={}):
if not hasattr(self, 'viewer'): # pragma: no cover
# plugin hasn't been fully initialized yet
Expand Down

0 comments on commit 4362f11

Please sign in to comment.