summaryrefslogtreecommitdiff
path: root/sw-ui/src/main/kotlin/com
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2021-02-21 21:54:10 +0100
committerJoffrey Bion <joffrey.bion@gmail.com>2021-02-21 21:54:10 +0100
commit6079e1ed2336ec8686b081e52da8ac23f42ab73e (patch)
treecbcc86f59c4771b6c835a95df645684c4df67f7f /sw-ui/src/main/kotlin/com
parentAlign title level in Lobby and GameBrowser (diff)
downloadseven-wonders-6079e1ed2336ec8686b081e52da8ac23f42ab73e.tar.gz
seven-wonders-6079e1ed2336ec8686b081e52da8ac23f42ab73e.tar.bz2
seven-wonders-6079e1ed2336ec8686b081e52da8ac23f42ab73e.zip
Move lobby to Zeus temple background
Related: https://github.com/joffrey-bion/seven-wonders/issues/69
Diffstat (limited to 'sw-ui/src/main/kotlin/com')
-rw-r--r--sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt16
1 files changed, 9 insertions, 7 deletions
diff --git a/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt b/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt
index 7869198f..721fdaca 100644
--- a/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt
+++ b/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt
@@ -92,16 +92,18 @@ fun RBuilder.bpTag(
fill: Boolean? = null,
active: Boolean? = null,
icon: String? = null,
+ className: String? = null,
block: RHandler<ITagProps> = {},
): ReactElement = child(Tag::class) {
attrs {
- this.intent = intent
- this.minimal = minimal
- this.large = large
- this.round = round
- this.fill = fill
- this.icon = icon
- this.active = active
+ intent?.let { this.intent = it }
+ minimal?.let { this.minimal = it }
+ large?.let { this.large = it }
+ round?.let { this.round = it }
+ fill?.let { this.fill = it }
+ icon?.let { this.icon = it }
+ active?.let { this.active = it }
+ className?.let { this.className = it }
}
block()
}
bgstack15