From d9abe2f475ff4bbce886a07930e5b7c09a98a8c6 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 22 Aug 2019 19:59:44 +0200 Subject: [PATCH] :sparkles: Improve fixtures initial data structure on fixtures. --- backend/src/uxbox/fixtures.clj | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/backend/src/uxbox/fixtures.clj b/backend/src/uxbox/fixtures.clj index b8d5eaf47..a11764a14 100644 --- a/backend/src/uxbox/fixtures.clj +++ b/backend/src/uxbox/fixtures.clj @@ -59,16 +59,17 @@ :user (mk-uuid "user" ui) :project (mk-uuid "project" pi) :data {:canvas [{:id (mk-uuid "canvas" i 1) - :x 200 - :y 200 - :width 1024 - :height 768} + :name "Canvas 1" + :x1 200 + :y1 200 + :x2 1224 + :y2 968} {:id (mk-uuid "canvas" i 2) - :x 1324 - :y 200 - :width 1024 - :height 768} - ] + :name "Canvas 2" + :x1 1324 + :y1 200 + :x2 2348 + :y2 968}] :shapes [] :shapes-map {}} :metadata {:width 1024