Skip to content

Commit

Permalink
Use a better Decimalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Feb 15, 2024
1 parent 70776b3 commit f0fbec0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/cssmacro.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ import language.dynamics

private[cataclysm] type Label = String & Singleton

// FIXME
given Show[Double] = _.toString.show
given decimalizer: Decimalizer = Decimalizer(6)

object Cataclysm:
def rule(selector: Expr[Selector], props: Expr[Seq[(Label, Any)]])(using Quotes): Expr[CssRule] =
Expand Down

0 comments on commit f0fbec0

Please sign in to comment.