Fix line width

This commit is contained in:
Clément Gallet 2024-06-01 15:21:10 +02:00 committed by GitHub
parent e0a407204f
commit 803a965dea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ void BalloonTip::UpdateBoundsAndRedraw(const QPoint& target_arrow_tip_position,
const bool arrow_at_bottom =
target_arrow_tip_position.y() - size_hint.height() + arrow_height >= 0;
const bool arrow_at_left =
target_arrow_tip_position.x() + size_hint.width() - arrow_tip_x_offset < screen_rect.left() + screen_rect.width();
target_arrow_tip_position.x() + size_hint.width() - arrow_tip_x_offset <
screen_rect.left() + screen_rect.width();
const float arrow_base_y =
arrow_at_bottom ? rect_bottom - border_half_width : rect_top + border_half_width;