@@ -31,8 +31,8 @@ object RenderSettings : Module(
3131 private val page by setting(" Page" , Page .Font )
3232
3333 // Font
34- val textFont by setting(" Text Font" , LambdaFont .FiraSansRegular )
35- val emojiFont by setting(" Emoji Font" , LambdaEmoji .Twemoji )
34+ val textFont by setting(" Text Font" , LambdaFont .FiraSansRegular ) { page == Page . Font }
35+ val emojiFont by setting(" Emoji Font" , LambdaEmoji .Twemoji ) { page == Page . Font }
3636 val shadow by setting(" Shadow" , true ) { page == Page .Font }
3737 val shadowBrightness by setting(" Shadow Brightness" , 0.35 , 0.0 .. 0.5 , 0.01 ) { page == Page .Font && shadow }
3838 val shadowShift by setting(" Shadow Shift" , 1.0 , 0.0 .. 2.0 , 0.05 ) { page == Page .Font && shadow }
@@ -43,8 +43,8 @@ object RenderSettings : Module(
4343 val sdfMax by setting(" SDF Max" , 1.0 , 0.0 .. 1.0 , 0.01 , visibility = { page == Page .Font })
4444
4545 // ESP
46- val uploadsPerTick by setting(" Uploads" , 16 , 1 .. 256 , 1 , unit = " chunk /tick" ) { page == Page .ESP }
47- val rebuildsPerTick by setting(" Rebuilds" , 64 , 1 .. 256 , 1 , unit = " chunk /tick" ) { page == Page .ESP }
46+ val uploadsPerTick by setting(" Uploads" , 16 , 1 .. 256 , 1 , unit = " chunks /tick" ) { page == Page .ESP }
47+ val rebuildsPerTick by setting(" Rebuilds" , 64 , 1 .. 256 , 1 , unit = " chunks /tick" ) { page == Page .ESP }
4848 val updateFrequency by setting(" Update Frequency" , 2 , 1 .. 10 , 1 , " Frequency of block updates" , unit = " ticks" ) { page == Page .ESP }
4949 val outlineWidth by setting(" Outline Width" , 1.0 , 0.1 .. 5.0 , 0.1 , " Width of block outlines" , unit = " px" ) { page == Page .ESP }
5050
0 commit comments