Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Fixes #118: Updates bar when tab items change.
Browse files Browse the repository at this point in the history
  • Loading branch information
bicknellr committed Jan 4, 2016
1 parent d345ac1 commit 61b7913
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions paper-tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@
},

listeners: {
'iron-resize': '_onResize',
'iron-resize': '_onTabSizingChanged',
'iron-items-changed': '_onTabSizingChanged',
'iron-select': '_onIronSelect',
'iron-deselect': '_onIronDeselect'
},
Expand Down Expand Up @@ -368,8 +369,8 @@

// TODO(cdata): Add `track` response back in when gesture lands.

_onResize: function() {
this.debounce('_onResize', function() {
_onTabSizingChanged: function(e) {
this.debounce('_onTabSizingChanged', function() {
this._scroll();
this._tabChanged(this.selectedItem);
}, 10);
Expand Down

0 comments on commit 61b7913

Please sign in to comment.