mirror of
https://github.com/penpot/penpot.git
synced 2026-05-12 19:43:48 +00:00
23 lines
683 B
Clojure
23 lines
683 B
Clojure
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
;;
|
|
;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
|
|
;; Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
|
|
|
(ns uxbox.main.constants)
|
|
|
|
(def grid-x-axis 10)
|
|
(def grid-y-axis 10)
|
|
|
|
(def viewport-width 4000)
|
|
(def viewport-height 4000)
|
|
|
|
(def canvas-start-x 1200)
|
|
(def canvas-start-y 1200)
|
|
(def canvas-scroll-padding 50)
|
|
(def canvas-start-scroll-x (- canvas-start-x canvas-scroll-padding))
|
|
(def canvas-start-scroll-y (- canvas-start-y canvas-scroll-padding))
|
|
|
|
|