Page MenuHomePhabricator

D13585.diff
No OneTemporary

D13585.diff

diff --git a/native/tooltip/nux-tips-overlay.react.js b/native/tooltip/nux-tips-overlay.react.js
--- a/native/tooltip/nux-tips-overlay.react.js
+++ b/native/tooltip/nux-tips-overlay.react.js
@@ -318,7 +318,7 @@
(values/*: ExitAnimationsValues*/) => {
'worklet';
- if(tooltipLocation === 'absolute'){
+ if (tooltipLocation === 'absolute') {
return {
animations: {
opacity: withTiming(0, { duration: animationDuration }),
@@ -328,7 +328,7 @@
},
initialValues: {
opacity: 1,
- transform: [ { scale: 1 }],
+ transform: [{ scale: 1 }],
},
callback: onExitFinish,
};
@@ -340,9 +340,9 @@
initialCoordinates.x) /
2;
const toValueY =
- tooltipLocation === 'below'
- ? -values.currentHeight / 2
- : values.currentHeight / 2;;
+ tooltipLocation === 'below'
+ ? -values.currentHeight / 2
+ : values.currentHeight / 2;
return {
animations: {
@@ -368,7 +368,12 @@
callback: onExitFinish,
};
},
- [initialCoordinates.width, initialCoordinates.x, onExitFinish, tooltipLocation],
+ [
+ initialCoordinates.width,
+ initialCoordinates.x,
+ onExitFinish,
+ tooltipLocation,
+ ],
);
let triangleDown = null;

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 2:53 PM (11 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2561991
Default Alt Text
D13585.diff (1 KB)

Event Timeline