Updated for Polymer 0.5.2.

Removed some sizing update calls that are no longer necessary.
This commit is contained in:
Oliver Hamlet
2014-12-20 13:24:02 +00:00
parent c433e199cf
commit 7b32f9dd52
2 changed files with 0 additions and 8 deletions
@@ -544,9 +544,6 @@ loot-editor-close
this.shadowRoot.getElementById('loadsBSA').setPosition();
this.shadowRoot.getElementById('globalPriority').parentElement.setPosition();
/* Update tab bar position. */
this.shadowRoot.getElementById('tableTabs').updateBar();
/* Also make sure right arrow is visible. */
this.shadowRoot.getElementById('tableTabs').shadowRoot.querySelector('.scroll-button:last-child').firstElementChild.classList.remove('hidden');
},
-5
View File
@@ -473,10 +473,6 @@ function changeGame(evt) {
/* Now update virtual lists. */
setFilteredUIData();
/* Update the list sizes to take into account data changes. */
document.getElementById('cardsNav').lastElementChild.updateSize();
document.getElementById('main').lastElementChild.updateSize();
} catch (e) {
console.log(e);
console.log('changeGame response: ' + result);
@@ -1162,7 +1158,6 @@ function initVars() {
document.getElementById('main').lastElementChild.data = loot.game.plugins;
setTimeout(function() {
document.getElementById('cardsNav').lastElementChild.updateSize();
closeProgressDialog();
}, 100);