From 65d2a67f490829ee2e4f63f8986c2ec90b1201b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirco=20M=C3=BCller?= Date: Mon, 13 Sep 2010 12:17:19 +0200 Subject: make sure the anchor-arrow aligns with the focused-triangle indicating the current app. (bzr r494.1.2) --- unity-private/launcher/quicklist-controller.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unity-private/launcher') diff --git a/unity-private/launcher/quicklist-controller.vala b/unity-private/launcher/quicklist-controller.vala index 163e2d1c5..62b654ffd 100644 --- a/unity-private/launcher/quicklist-controller.vala +++ b/unity-private/launcher/quicklist-controller.vala @@ -186,7 +186,7 @@ namespace Unity.Launcher h = (attached_controller.child as Ctk.Actor).get_height(); menu.compute_style_textures (); menu.set_expansion_size_factor (0.0f); - menu.set_anchor_position (x + w-6, y + h/2.0f, 0); + menu.set_anchor_position (x + w - 4, y + h/2.0f, 0); } else if (state == QuicklistControllerState.MENU) { @@ -255,7 +255,7 @@ namespace Unity.Launcher h = (attached_controller.child as Ctk.Actor).get_height(); menu.compute_style_textures (); menu.set_expansion_size_factor (0.0f); - menu.set_anchor_position (x + w-11, y + h/2.0f, 0); + menu.set_anchor_position (x + w - 9, y + h/2.0f, 0); menu.animate (Clutter.AnimationMode.LINEAR, 100, "expansion-size-factor", 1.0f); -- cgit v1.2.3