This commit is contained in:
ChrisColeTech 2024-08-30 04:13:51 -04:00
commit c8d4d2df46
2 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,11 @@
will-change: transform;
text-align: center;
transition: width 0.8s ease, height 0.8s ease, transform 0.3s ease;
transform: scale(0);
}
#chart-button-container.active {
transform: scale(1);
}
#mydivheader {

View File

@ -672,6 +672,7 @@ window.showPerfMonitor = async function () {
localStorage.setItem('shouldShowPerfMonitor', shouldShowPerfMonitor)
const chartButton = document.getElementById('chart-button')
const chartWrapper = document.getElementById('chart-wrapper')
const chartButtonContainer = document.getElementById('chart-button-container')
if (shouldShowPerfMonitor === true) {
localStorage.setItem('hasUpdates', 'true')
@ -687,6 +688,7 @@ window.showPerfMonitor = async function () {
}
$(chartButton).toggleClass('active')
$(chartButtonContainer).toggleClass('active')
}
// when the close button is clicked