style(frontend): apply ultracite 7.12 formatting and lint rules
This commit is contained in:
1 parent
fc4758aa0b
commit
c8e5cff871
109 files changed
+845
-817
No files matched your search
@@ -23,6 +23,13 @@
|
||||
const onpointerup = props.onpointerup as PointerHandler;
|
||||
return {
|
||||
...props,
|
||||
onclickcapture(event: MouseEvent) {
|
||||
if (suppressClick) {
|
||||
suppressClick = false;
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
}
|
||||
},
|
||||
onpointerdown(event: PointerEvent) {
|
||||
suppressClick = false;
|
||||
if (claimed.has(event)) {
|
||||
@@ -35,13 +42,6 @@
|
||||
suppressClick = open && event.pointerType !== "mouse";
|
||||
onpointerup(event);
|
||||
},
|
||||
onclickcapture(event: MouseEvent) {
|
||||
if (suppressClick) {
|
||||
suppressClick = false;
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user