Skip to content
Browse files

Fix for set-prop! to handle boolean values correctly

  • Loading branch information...
1 parent 9ae644d commit 9cae97f0b3376ca1883a88b44d1cafa898a1c737 @mesousa mesousa committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/borneo/core.clj
2  src/borneo/core.clj
@@ -379,7 +379,7 @@
([^PropertyContainer c key value]
- (if value
+ (if (not (nil? value))
(.setProperty c (encode-property-key key)
(if (coll? value) ; handle multiple values
(into-array (map encode-property-value value))

0 comments on commit 9cae97f

Please sign in to comment.
Something went wrong with that request. Please try again.