Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a97e3f8

Browse files
committedApr 26, 2024
Slight modifications to flashing outline
1 parent 6ca150a commit a97e3f8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
 

‎src/content/wrappers/ElementWrapperClass.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -504,13 +504,11 @@ class ElementWrapperClass implements ElementWrapper {
504504
const previousOutline = element.style.outline;
505505

506506
setStyleProperties(element, {
507-
outline: "3px solid #0891b2",
507+
outline: "2px solid #0891b2",
508508
});
509509
setTimeout(() => {
510-
setStyleProperties(element, {
511-
outline: previousOutline,
512-
});
513-
}, 300);
510+
element.style.outline = previousOutline;
511+
}, 150);
514512
}
515513

516514
hover() {

0 commit comments

Comments
 (0)
Please sign in to comment.