Permalink
Browse files

bar.js: Recount hiding of labels when resized (#337)

  • Loading branch information...
dakur authored and dg committed Dec 12, 2018
1 parent cc23cee commit ab7b1d19c0de130bed6de5b30c9ad7884131b465
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Tracy/assets/Bar/bar.js
@@ -242,6 +242,8 @@

this.initTabs(this.elem);
this.restorePosition();

window.addEventListener('resize', () => this.autoHideLabels);

(new MutationObserver(() => {
this.restorePosition();

0 comments on commit ab7b1d1

Please sign in to comment.