Made Advanced Settings ToggleButtons toggleable (Path Interpolation and Force Render Chunks setting)

This commit is contained in:
CrushedPixel
2015-06-16 21:41:14 +02:00
parent 7f47e40ef4
commit 828f3c9ba0

View File

@@ -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();