mirror of
https://github.com/elementary/gala.git
synced 2024-08-16 18:40:27 +03:00
Redraw tooltip to avoid corner glitches (#1760)
Co-authored-by: Danielle Foré <danielle@elementary.io>
This commit is contained in:
parent
433c4e911b
commit
b8bea1fd01
@ -132,9 +132,13 @@ public class Gala.Tooltip : Clutter.Actor {
|
||||
}
|
||||
|
||||
ctx.save ();
|
||||
ctx.set_operator (Cairo.Operator.CLEAR);
|
||||
ctx.paint ();
|
||||
ctx.clip ();
|
||||
ctx.reset_clip ();
|
||||
ctx.set_operator (Cairo.Operator.OVER);
|
||||
|
||||
style_context.render_background (ctx, 0, 0, width, height);
|
||||
style_context.render_frame (ctx, 0, 0, width, height);
|
||||
|
||||
ctx.restore ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user