Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3336611
D13585.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13585.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D13585: [native] Fix styling in animation code
Attached
Detach File
Event Timeline
Log In to Comment