mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
refactor: Remove unused CSS animation code and optimize element search in SEQTA.ts
This commit is contained in:
@@ -3032,22 +3032,4 @@ body:has(.outside-container:not(.hide)) #AddedSettings.tooltip:hover > .tooltipt
|
||||
background: var(--background-primary) !important;
|
||||
z-index: 1;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
li[data-message] {
|
||||
animation: cubic-bezier(.22, .03, .26, 1) 1s fade-up-and-in;
|
||||
animation-timeline: view(90% 0px) !important;
|
||||
}
|
||||
|
||||
@keyframes fade-up-and-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateY(50px);
|
||||
scale: 0.9;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
scale: 1;
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,7 @@ class EventManager {
|
||||
private listeners: Map<string, EventListener[]> = new Map();
|
||||
private mutationObservers: Map<Element, MutationObserver> = new Map();
|
||||
private pendingElements: Set<Element> = new Set();
|
||||
private throttleTimeout: number = 5; // 5ms throttle
|
||||
private throttleTimeout: number = 0; // 5ms throttle
|
||||
private throttleTimer: number | undefined;
|
||||
private chunkSize: number = 50; // Process 50 elements per chunk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user