From: Jason Woofenden Date: Sat, 29 Aug 2015 18:08:52 +0000 (-0400) Subject: tweak for firefox X-Git-Url: https://jasonwoof.com/gitweb/?p=crayon_mockup.git;a=commitdiff_plain;h=b1a9291591e94a627421082ee880c22ec986d7b5 tweak for firefox --- diff --git a/auto.coffee b/auto.coffee index e36132f..fcde726 100644 --- a/auto.coffee +++ b/auto.coffee @@ -34,6 +34,7 @@ class RectWidget extends Widget width: @width - 2 height: @height - 2 class: 'box' + style: 'filter: url(#crayon)' move: (args) -> super args @el.setAttribute 'x', @x + 1 diff --git a/styl.styl b/styl.styl index bccabd4..ef85724 100644 --- a/styl.styl +++ b/styl.styl @@ -39,4 +39,4 @@ p stroke-width: 4; stroke-linecap: butt; stroke-linejoin:miter; - filter: url(#crayon); + // this doesn't work in firefox: filter: url(#crayon);