We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b672a4 commit 4fabca3Copy full SHA for 4fabca3
1 file changed
src/civitas/why/village/traction.cljs
@@ -38,9 +38,9 @@
38
;; HACK: for some reason some slides bounding box is too tall
39
;;bbh (.-height bbt)
40
bbh (/ bbw 1.1547)
41
- bbm (-> (.getCTM svg)
+ bbm (-> (.getScreenCTM svg)
42
(.inverse)
43
- (.multiply (.getCTM target)))
+ (.multiply (.getScreenCTM target)))
44
top-left (pt*m bbx bby bbm)
45
bottom-right (pt*m (+ bbx bbw) (+ bby bbh) bbm)
46
x (.-x top-left)
0 commit comments