mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-28 07:51:31 +00:00
add comment
This commit is contained in:
parent
3d8f612ca0
commit
a028420dc4
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ class ToolTip extends React.PureComponent<Props> {
|
||||||
const { direction } = this.state;
|
const { direction } = this.state;
|
||||||
const visibility = this.getVisibility();
|
const visibility = this.getVisibility();
|
||||||
|
|
||||||
|
// Invert direction if tooltip is outside viewport bounds
|
||||||
if (!visibility[direction]) {
|
if (!visibility[direction]) {
|
||||||
this.invertDirection();
|
this.invertDirection();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue