Merge lp:~cimi/overlay-scrollbar/fix-731006 into lp:overlay-scrollbar

Proposed by Andrea Cimitan
Status: Merged
Merged at revision: 147
Proposed branch: lp:~cimi/overlay-scrollbar/fix-731006
Merge into: lp:overlay-scrollbar
Diff against target: 23 lines (+4/-4)
1 file modified
os/os-scrollbar.c (+4/-4)
To merge this branch: bzr merge lp:~cimi/overlay-scrollbar/fix-731006
Reviewer Review Type Date Requested Status
Loïc Molinari (community) Approve
Review via email: mp+52500@code.launchpad.net

Description of the change

Just move the pager and thumb 1px left (vertical) and 1px up (horizontal)

To post a comment you must log in.
Revision history for this message
Loïc Molinari (loic.molinari) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'os/os-scrollbar.c'
2--- os/os-scrollbar.c 2011-03-07 19:08:26 +0000
3+++ os/os-scrollbar.c 2011-03-08 01:24:59 +0000
4@@ -1024,15 +1024,15 @@
5 {
6 priv->slider.width = DEFAULT_SCROLLBAR_WIDTH;
7 priv->slider.height = DEFAULT_SCROLLBAR_HEIGHT;
8- priv->overlay_all.x = allocation->x + allocation->width - DEFAULT_PAGER_WIDTH;
9- priv->thumb_all.x = allocation->x + allocation->width;
10+ priv->overlay_all.x = allocation->x + allocation->width - DEFAULT_PAGER_WIDTH - 1;
11+ priv->thumb_all.x = allocation->x + allocation->width - 1;
12 }
13 else
14 {
15 priv->slider.width = DEFAULT_SCROLLBAR_HEIGHT;
16 priv->slider.height = DEFAULT_SCROLLBAR_WIDTH;
17- priv->overlay_all.y = allocation->y + allocation->height - DEFAULT_PAGER_WIDTH;
18- priv->thumb_all.y = allocation->y + allocation->height;
19+ priv->overlay_all.y = allocation->y + allocation->height - DEFAULT_PAGER_WIDTH - 1;
20+ priv->thumb_all.y = allocation->y + allocation->height - 1;
21 }
22
23 if (priv->adjustment != NULL)

Subscribers

People subscribed via source and target branches