From be224d4c563249354847b56a0a62092ba4f1fdbe Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 28 Dec 2014 13:40:11 +0000 Subject: [PATCH] Improved display of tab scroll buttons in editor. --- resources/report/html/loot-plugin-editor.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/report/html/loot-plugin-editor.html b/resources/report/html/loot-plugin-editor.html index 3887b11f..70da6d64 100644 --- a/resources/report/html/loot-plugin-editor.html +++ b/resources/report/html/loot-plugin-editor.html @@ -527,8 +527,8 @@ loot-editor-close this.shadowRoot.getElementById('loadsBSA').setPosition(); this.shadowRoot.getElementById('globalPriority').parentElement.setPosition(); - /* Also make sure right arrow is visible. */ - this.shadowRoot.getElementById('tableTabs').shadowRoot.querySelector('.scroll-button:last-child').firstElementChild.classList.remove('hidden'); + /* Also make sure right arrow is visible if the tabs are scrollable. */ + this.shadowRoot.getElementById('tableTabs').scroll(); }, });