Skip to content

Commit

Permalink
refactor(examples): update clock main group attribs
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 12, 2018
1 parent 1d24a16 commit cfadbe3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/hdom-canvas-clock/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@ const cancel = start(() => {
//
// see here for a list of all supported attribs:
// https://github.com/thi-ng/umbrella/blob/feature/hdom-canvas/packages/hdom-canvas/src/index.ts#L35
["g", { translate: [100, 100], stroke: "black", fill: "none", align: "center", baseLine: "middle" },
["g",
{
translate: [100, 100],
stroke: "black", fill: "none",
align: "center", baseLine: "middle",
__normalize: false
},
// rim
["circle", {}, [0, 0], 99],
["text", { font: "24px Menlo" }, [0, -33], "thi.ng"],
Expand Down

0 comments on commit cfadbe3

Please sign in to comment.