diff options
| author | Mirco Müller <mirco.mueller@ubuntu.com> | 2010-09-13 12:17:19 +0200 |
|---|---|---|
| committer | Mirco Müller <mirco.mueller@ubuntu.com> | 2010-09-13 12:17:19 +0200 |
| commit | 65d2a67f490829ee2e4f63f8986c2ec90b1201b4 (patch) | |
| tree | 05901ad80cca88ec062cc28a7af2b3aaac19e188 /unity-private/launcher | |
| parent | 88a10e05d93c85dfb88ab79445c9afaa6bb4ea4e (diff) | |
make sure the anchor-arrow aligns with the focused-triangle indicating the current app.
(bzr r494.1.2)
Diffstat (limited to 'unity-private/launcher')
| -rw-r--r-- | unity-private/launcher/quicklist-controller.vala | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
