Skip to content

Commit

Permalink
Make current-fill and current-stroke work for cljs
Browse files Browse the repository at this point in the history
  • Loading branch information
satchit8 authored Dec 8, 2016
1 parent 6c63c77 commit a1deb7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cljc/quil/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@
current-fill
"Return the current fill color."
[]
(.fillColor (current-graphics)))
(.-fillColor (current-graphics)))

(defn
^{:requires-bindings true
Expand All @@ -1275,7 +1275,7 @@
current-stroke
"Return the current stroke color."
[]
(.strokeColor (current-graphics)))
(.-strokeColor (current-graphics)))

(defn
^{:requires-bindings true
Expand Down

0 comments on commit a1deb7f

Please sign in to comment.