Skip to content

Commit

Permalink
Allow overriding alpha value
Browse files Browse the repository at this point in the history
  • Loading branch information
borodust committed Aug 5, 2019
1 parent e78e605 commit da90e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions canvas/canvas.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@
,@body))


(defmacro with-alpha ((value) &body body)
`(bodge-canvas:with-alpha (,value (%handle-of *canvas*))
(defmacro with-alpha ((value &key override) &body body)
`(bodge-canvas:with-alpha (,value :override ,override :canvas (%handle-of *canvas*))
,@body))

0 comments on commit da90e42

Please sign in to comment.