Made Advanced Settings ToggleButtons toggleable (Path Interpolation and Force Render Chunks setting)
This commit is contained in:
@@ -341,7 +341,9 @@ public class GuiRenderSettings extends GuiScreen {
|
||||
((GuiCheckBox)button).setIsChecked(!((GuiCheckBox)button).isChecked());
|
||||
|
||||
if(button instanceof GuiColorPicker) {
|
||||
((GuiColorPicker)button).pickerToggled();
|
||||
((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