mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-30 19:54:16 -04:00
Fix format
This commit is contained in:
parent
79dc4e5f33
commit
19485a110a
@ -286,7 +286,10 @@ export const HoverTouch = ({ children, ...props }: { children: ReactNode }) => {
|
|||||||
}}
|
}}
|
||||||
onPress={(e) => {
|
onPress={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
onAnyPress({ pointerType: isTouch ? "touch" : "mouse", x: e.nativeEvent.locationX ?? e.nativeEvent.pageX });
|
onAnyPress({
|
||||||
|
pointerType: isTouch ? "touch" : "mouse",
|
||||||
|
x: e.nativeEvent.locationX ?? e.nativeEvent.pageX,
|
||||||
|
});
|
||||||
}}
|
}}
|
||||||
onLayout={(e) => {
|
onLayout={(e) => {
|
||||||
playerWidth.current = e.nativeEvent.layout.width;
|
playerWidth.current = e.nativeEvent.layout.width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user