Made Advanced Settings ToggleButtons toggleable (Path Interpolation and Force Render Chunks setting)
This commit is contained in:
@@ -342,6 +342,8 @@ public class GuiRenderSettings extends GuiScreen {
|
||||
|
||||
if(button instanceof GuiColorPicker) {
|
||||
((GuiColorPicker) button).pickerToggled();
|
||||
} else if(button instanceof GuiToggleButton) {
|
||||
((GuiToggleButton) button).toggle();
|
||||
} else {
|
||||
if(button.id == GuiConstants.RENDER_SETTINGS_ENABLE_GREENSCREEN) {
|
||||
colorPicker.enabled = enableGreenscreen.isChecked();
|
||||
|
||||
Reference in New Issue
Block a user