mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
pip: Hide close and resize badges after dragging
DragDropAction changes the "reactive" property of the actors it handles. Add the DragDropAction to the PiP window so it keeps being reactive. Fix #1035
This commit is contained in:
parent
43ce63fb53
commit
3c47d9dc54
@ -95,13 +95,13 @@ public class Gala.Plugins.PIP.PopupWindow : Clutter.Actor {
|
||||
move_action.drag_begin.connect (on_move_begin);
|
||||
move_action.drag_canceled.connect (on_move_end);
|
||||
move_action.actor_clicked.connect (activate);
|
||||
add_action (move_action);
|
||||
|
||||
container = new Clutter.Actor ();
|
||||
container.reactive = true;
|
||||
container.set_scale (0.35f, 0.35f);
|
||||
container.add_effect (new ShadowEffect (SHADOW_SIZE, 2));
|
||||
container.add_child (clone);
|
||||
container.add_action (move_action);
|
||||
|
||||
update_size ();
|
||||
update_container_position ();
|
||||
|
Loading…
Reference in New Issue
Block a user