summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2021-09-07 19:12:07 +0200
committerJoffrey Bion <joffrey.bion@gmail.com>2021-09-07 19:12:07 +0200
commitea4e6c5a5275848237008a0662bfb8c055ecc79c (patch)
tree2d06762ef2de397fa65f3751be50c20087eb99a8
parentRemove unnecessary setup-qemu action (diff)
downloadseven-wonders-ea4e6c5a5275848237008a0662bfb8c055ecc79c.tar.gz
seven-wonders-ea4e6c5a5275848237008a0662bfb8c055ecc79c.tar.bz2
seven-wonders-ea4e6c5a5275848237008a0662bfb8c055ecc79c.zip
Replace deprecated icon sizes
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/TransactionsSelector.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/TransactionsSelector.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/TransactionsSelector.kt
index 4f375aff..46f7cca7 100644
--- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/TransactionsSelector.kt
+++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/TransactionsSelector.kt
@@ -162,7 +162,7 @@ private fun RDOMBuilder<TBODY>.transactionsOptionRow(
styledDiv {
css { opacity = if (leftTr == null) 0.5 else 1 }
transactionCellInnerCss()
- bpIcon(name = "caret-left", size = Icon.SIZE_LARGE)
+ bpIcon(name = "caret-left", size = IconSize.LARGE)
goldIndicator(leftTr?.totalPrice ?: 0, imgSize = 2.5.rem)
}
}
@@ -191,7 +191,7 @@ private fun RDOMBuilder<TBODY>.transactionsOptionRow(
css { opacity = if (rightTr == null) 0.5 else 1 }
transactionCellInnerCss()
goldIndicator(rightTr?.totalPrice ?: 0, imgSize = 2.5.rem)
- bpIcon(name = "caret-right", size = Icon.SIZE_LARGE)
+ bpIcon(name = "caret-right", size = IconSize.LARGE)
}
}
}
bgstack15