diff options
Diffstat (limited to 'src/main/scala/reading/component/widget/Cross.scala')
-rw-r--r-- | src/main/scala/reading/component/widget/Cross.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/scala/reading/component/widget/Cross.scala b/src/main/scala/reading/component/widget/Cross.scala index cfbb29d..c9e3054 100644 --- a/src/main/scala/reading/component/widget/Cross.scala +++ b/src/main/scala/reading/component/widget/Cross.scala @@ -14,7 +14,9 @@ object Cross { CrossStyle.cross, width := size, height := size, - div(CrossStyle.line1, backgroundColor := color.value), - div(CrossStyle.line2, backgroundColor := color.value) + div( + div(CrossStyle.line1, backgroundColor := color.value), + div(CrossStyle.line2, backgroundColor := color.value) + ) ) } |