summaryrefslogtreecommitdiff
path: root/dock.c
diff options
context:
space:
mode:
Diffstat (limited to 'dock.c')
-rw-r--r--dock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dock.c b/dock.c
index bc439ff..54e4746 100644
--- a/dock.c
+++ b/dock.c
@@ -94,13 +94,13 @@ model_init_dock (Model *model, int num_items, int x, int y, int spacing)
model->polygons = g_new (Polygon, 1);
model->num_polygons = 1;
- polygon_init_rectangle (&model->polygons[0], -4000, y, 4000, 2000);
+ polygon_init_enclosing_rectangle (&model->polygons[0], 0, 0, 1024 - 50, y);
model->anchors[0].x = x;
model->anchors[0].y = y;
model->anchors[0].object = &model->objects[0];
- object_init (&model->objects[0], x, y, 1);
+ object_init (&model->objects[0], x, y, 20);
object = &model->objects[1];
spring = model->springs;