private void updateTooltipPositions() { if (firstTimeEntry == null) { return; } var position = TimeEntriesLogTableView.ConvertRectToView( firstTimeEntry.Frame, TimeEntriesLogTableView.Superview); TapToEditBubbleViewTopConstraint.Constant = position.Bottom + tooltipOffset; SwipeLeftTopConstraint.Constant = position.Y - SwipeLeftBubbleView.Frame.Height - tooltipOffset; SwipeRightTopConstraint.Constant = position.Y - SwipeRightBubbleView.Frame.Height - tooltipOffset; }
private void updateTooltipPositions() { if (TapToEditBubbleView.Hidden) { return; } if (firstTimeEntryCell == null) { return; } var position = TimeEntriesLogTableView.ConvertRectToView( firstTimeEntryCell.Frame, TimeEntriesLogTableView.Superview); TapToEditBubbleViewTopConstraint.Constant = position.Bottom + tooltipOffset; }