Verified Commit d2e9015b authored by Campbell Jones's avatar Campbell Jones
Browse files

fix tooltip issue with various de panels

parent 8f44694d
Pipeline #229649 passed with stages
in 37 minutes and 22 seconds
......@@ -166,7 +166,7 @@ maybe_flip_position (gint bounds_pos,
*flipped = TRUE;
secondary = rect_pos + (1 - rect_sign) * rect_size / 2 - offset - (1 - window_sign) * window_size / 2;
if (secondary >= bounds_pos && secondary + window_size <= bounds_pos + bounds_size)
if (secondary >= bounds_pos && secondary + window_size <= bounds_pos + bounds_size || primary > bounds_pos + bounds_size)
return secondary;
*flipped = FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment