File tree Expand file tree Collapse file tree 2 files changed +72
-71
lines changed
src/main/scala/scala/scalajs Expand file tree Collapse file tree 2 files changed +72
-71
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ package object extensions {
6
6
implicit class PimpedNodeList (nodes : js.NodeList ) extends EasySeq [js.Node ](nodes.length, nodes.apply)
7
7
implicit class PimpedTouchList (nodes : js.TouchList ) extends EasySeq [js.TouchEvent ](nodes.length, nodes.apply)
8
8
implicit class PimpedHtmlCollection (coll : js.HTMLCollection ) extends EasySeq [js.Element ](coll.length, coll.apply)
9
+ implicit class PimpedSVGTransformList (coll : js.SVGTransformList ) extends EasySeq [js.SVGTransform ](coll.numberOfItems, coll.getItem)
9
10
implicit class Castable (x : js.Dynamic ){
10
11
def to [T ] = x.asInstanceOf [T ]
11
12
}
@@ -20,7 +21,7 @@ package object extensions {
20
21
}
21
22
def strokeCircle (x : Double , y : Double , r : Double ) = {
22
23
prepCircle(x, y, r)
23
- ctx.fill ()
24
+ ctx.stroke ()
24
25
}
25
26
def prepPath (points : (js.Number , js.Number )* ) = {
26
27
ctx.beginPath()
You can’t perform that action at this time.
0 commit comments