Searched refs:hostCenterX (Results 1 – 1 of 1) sorted by relevance
1092 auto hostCenterX = (hostRect.Left() + hostRect.Right()) / 2; in CalculateDialogOffset() local1093 x = std::max(0.0f, static_cast<float>(hostCenterX - (DIALOG_WIDTH).ConvertToPx() / 2)); in CalculateDialogOffset()