mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Updated for Polymer 0.5.2.
Removed some sizing update calls that are no longer necessary.
This commit is contained in:
@@ -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');
|
||||
},
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user