Skip to content

Commit 6d8088d

Browse files
committed
feat: add width parameter to noticeDialogWithBuilder function
1 parent b2c824c commit 6d8088d

File tree

1 file changed

+1
-1
lines changed
  • surf-api-bukkit/surf-api-bukkit-api/src/main/kotlin/dev/slne/surf/surfapi/bukkit/api/dialog

1 file changed

+1
-1
lines changed

surf-api-bukkit/surf-api-bukkit-api/src/main/kotlin/dev/slne/surf/surfapi/bukkit/api/dialog/CommonDialogs.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fun noticeDialog(title: Component, notice: Component, width: @Range(from = 1, to
2222
}
2323

2424
fun noticeDialogWithBuilder(
25-
width: @Range(from = 1, to = 1024) Int? = null,
2625
title: Component,
26+
width: @Range(from = 1, to = 1024) Int? = null,
2727
notice: SurfComponentBuilder.() -> Unit,
2828
) = noticeDialog(title, SurfComponentBuilder(notice), width)

0 commit comments

Comments
 (0)