diff --git a/html/src/app.js b/html/src/app.js index a42c01f7..f9f88c76 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -11200,6 +11200,7 @@ speechSynthesis.getVoices(); for (var id of this.photonLobbyCurrent.keys()) { if (!lobbyIds.includes(id)) { this.photonLobbyCurrent.delete(id); + this.photonEvent7List.delete(id); } } }; @@ -23400,6 +23401,7 @@ speechSynthesis.getVoices(); this.photonEventPulse(); break; case 'Event7List': + this.photonEvent7List.clear(); for (var [id, dt] of Object.entries(data.Event7List)) { this.photonEvent7List.set(parseInt(id, 10), dt); } diff --git a/html/src/repository/database.js b/html/src/repository/database.js index 0ee0887e..41cadc2a 100644 --- a/html/src/repository/database.js +++ b/html/src/repository/database.js @@ -1737,7 +1737,7 @@ class Database { if (gamelogDatabase.length > 0) { gamelogDatabase.sort(); var newDate = gamelogDatabase[gamelogDatabase.length - 1]; - if (newDate > dateOffset) { + if (newDate > dateOffset && newDate < date) { date = newDate; } } diff --git a/html/src/theme.material3.scss b/html/src/theme.material3.scss index 491dbfc2..ccebe3f0 100644 --- a/html/src/theme.material3.scss +++ b/html/src/theme.material3.scss @@ -183,7 +183,9 @@ div[style*='margin: 0px 0px 10px;'] { font-weight: var(--md-sys-typescale-label-large-weight); letter-spacing: var(--md-sys-typescale-label-large-tracking); padding: 0 24px; - transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; + transition: + background-color 0.2s ease-in-out, + color 0.2s ease-in-out; } .el-tabs--card > .el-tabs__header .el-tabs__item.is-active { @@ -297,7 +299,9 @@ input[type='number'], .el-pagination button.btn-next { position: relative; background-color: rgb(var(--md-sys-color-secondary-container)); - transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out; + transition: + background-color 0.1s ease-in-out, + color 0.1s ease-in-out; } .el-pagination button:not(:disabled):hover.btn-prev::after, .el-pagination button:not(:disabled):hover.btn-next::after { @@ -394,7 +398,9 @@ input[type='number'], font-size: var(--md-sys-typescale-body-small-size); font-weight: var(--md-sys-typescale-body-small-weight); letter-spacing: var(--md-sys-typescale-body-small-tracking); - transition: height 0.1s ease-out, min-height 0.1s ease-out, + transition: + height 0.1s ease-out, + min-height 0.1s ease-out, opacity 0.1s ease-out; } .el-message-box__errormsg[style='visibility: hidden;'] { @@ -493,7 +499,6 @@ input[type='number'], height: 56px; border-radius: 28px; left: 50%; - top: 0; transform: translateX(-50%); background-color: rgb(var(--md-sys-color-secondary-container)); } @@ -634,7 +639,9 @@ input[type='number'], border-radius: 28px; background-color: rgb(var(--md-sys-color-surface-variant)) !important; border: 2px solid rgb(var(--md-sys-color-outline)) !important; - transition: background-color 0.1s ease-in-out, border-color 0.1s ease-in-out; + transition: + background-color 0.1s ease-in-out, + border-color 0.1s ease-in-out; } /* active track */ @@ -653,9 +660,13 @@ input[type='number'], margin: 4px; background-color: rgb(var(--md-sys-color-outline)); border-radius: 28px; - transition: left 200ms cubic-bezier(0, 0.5, 0.5, 1.5), - background-color 0.1s ease-in-out, height 50ms ease-out, - width 50ms ease-out, padding 50ms ease-out, margin 50ms ease-out; + transition: + left 200ms cubic-bezier(0, 0.5, 0.5, 1.5), + background-color 0.1s ease-in-out, + height 50ms ease-out, + width 50ms ease-out, + padding 50ms ease-out, + margin 50ms ease-out; } /* active thumb */ @@ -781,7 +792,9 @@ input[type='number'], line-height: var(--md-sys-typescale-label-large-line-height); font-size: var(--md-sys-typescale-label-large-size); font-weight: var(--md-sys-typescale-label-large-weight); - transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out; + transition: + background-color 0.1s ease-in-out, + color 0.1s ease-in-out; } .el-radio-group > *:first-child > .el-radio-button__inner { @@ -879,7 +892,9 @@ input[type='number'], font-weight: var(--md-sys-typescale-label-large-weight); letter-spacing: var(--md-sys-typescale-label-large-tracking); border: none; - transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out; + transition: + background-color 0.1s ease-in-out, + color 0.1s ease-in-out; } .el-button.el-button--primary:not(.el-button--text).is-disabled { cursor: not-allowed; @@ -927,7 +942,9 @@ input[type='number'], font-weight: var(--md-sys-typescale-label-large-weight); letter-spacing: var(--md-sys-typescale-label-large-tracking); border: none; - transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out; + transition: + background-color 0.1s ease-in-out, + color 0.1s ease-in-out; } .el-button:not(.el-button--text, .el-button--primary, .is-disabled), .el-button:not(.el-button--text, .el-button--primary, .is-disabled):hover, @@ -998,7 +1015,9 @@ input[type='number'], font-weight: var(--md-sys-typescale-label-large-weight); letter-spacing: var(--md-sys-typescale-label-large-tracking); border: none; - transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out; + transition: + background-color 0.1s ease-in-out, + color 0.1s ease-in-out; } .el-button.el-button--text:not(.el-button--primary) > i { font-size: 15px; @@ -1144,7 +1163,9 @@ img.x-link.el-popover__reference { background: var(--md-sys-color-surface-4); border: none; border-radius: 12px; - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); + box-shadow: + 0 3px 6px rgba(0, 0, 0, 0.16), + 0 3px 6px rgba(0, 0, 0, 0.23); } .el-popover img { @@ -1161,7 +1182,9 @@ img.x-link.el-popover__reference { font-weight: var(--md-sys-typescale-label-large-weight); letter-spacing: var(--md-sys-typescale-label-large-tracking); padding: 0 24px; - transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; + transition: + background-color 0.2s ease-in-out, + color 0.2s ease-in-out; } .el-tabs__item:not(:last-child) { @@ -1442,7 +1465,9 @@ img.x-link.el-popover__reference { border-radius: 20px; top: -10px; transform: translate(-50%); - transition: height 0.1s ease-in-out, width 0.1s ease-in-out; + transition: + height 0.1s ease-in-out, + width 0.1s ease-in-out; } .el-slider__button:hover::after, .el-slider__button:focus::after { @@ -1496,7 +1521,9 @@ img.x-link.el-popover__reference { border: none; border-radius: 8px; background: var(--md-sys-color-surface-2); - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); + box-shadow: + 0 3px 6px rgba(0, 0, 0, 0.16), + 0 3px 6px rgba(0, 0, 0, 0.23); overflow: auto; max-height: 90%; }