mirror of
https://github.com/penpot/penpot.git
synced 2025-07-24 21:17:20 +02:00
♻️ Refactor workspace thumbails (again)
We probably need a counter of number of types this code was refactored hehe
This commit is contained in:
parent
4ac2a64a2a
commit
d0c1a9683a
11 changed files with 290 additions and 275 deletions
|
@ -1,15 +0,0 @@
|
|||
;; 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) KALEIDOS INC
|
||||
|
||||
(ns app.util.imposters)
|
||||
|
||||
;; This is needed to avoid a circular dependency between
|
||||
;; app.main.ui.workspace.shapes.frame and app.util.imposters
|
||||
(defonce render-fn (atom nil))
|
||||
|
||||
(defn init!
|
||||
[fn]
|
||||
(reset! render-fn fn))
|
Loading…
Add table
Add a link
Reference in a new issue