mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
parent
d033a2fbf6
commit
2346cfd33f
1 changed files with 2 additions and 2 deletions
|
|
@ -515,7 +515,7 @@ edges_adjust_move_coords(struct view *view, struct border edges,
|
|||
|
||||
if (view_geom->x != *x) {
|
||||
int lshift = border.left + rc.gap;
|
||||
int rshift = border.right + rc.gap + view->pending.width;
|
||||
int rshift = border.right + rc.gap + view_geom->width;
|
||||
|
||||
adjust_move_coords_1d(x, edges.left, lshift,
|
||||
edges.right, rshift, *x < view_geom->x);
|
||||
|
|
@ -524,7 +524,7 @@ edges_adjust_move_coords(struct view *view, struct border edges,
|
|||
if (view_geom->y != *y) {
|
||||
int tshift = border.top + rc.gap;
|
||||
int bshift = border.bottom + rc.gap
|
||||
+ view_effective_height(view, /* use_pending */ true);
|
||||
+ view_effective_height(view, use_pending);
|
||||
|
||||
adjust_move_coords_1d(y, edges.top, tshift,
|
||||
edges.bottom, bshift, *y < view_geom->y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue