Skip to content

Commit a936f9c

Browse files
committed
Setting visibility
1 parent 78789f6 commit a936f9c

File tree

1 file changed

+3
-3
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/client

1 file changed

+3
-3
lines changed

common/src/main/kotlin/com/lambda/module/modules/client/ClickGui.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ object ClickGui : Module(
1616
private val page by setting("Page", Page.Colors)
1717

1818
// General
19-
val windowRadius by setting("Window Radius", 2.0, 0.0..10.0, 0.1)
20-
val windowPadding by setting("Window Padding", 2.0, 0.0..10.0, 0.1)
21-
val buttonHeight by setting("Button Height", 11.0, 8.0..20.0, 0.1)
19+
val windowRadius by setting("Window Radius", 2.0, 0.0..10.0, 0.1, visibility = { page == Page.General })
20+
val windowPadding by setting("Window Padding", 2.0, 0.0..10.0, 0.1, visibility = { page == Page.General })
21+
val buttonHeight by setting("Button Height", 11.0, 8.0..20.0, 0.1, visibility = { page == Page.General })
2222

2323
// Colors
2424
val mainColor by setting("Main Color", Color(110, 0, 40), visibility = { page == Page.Colors })

0 commit comments

Comments
 (0)