forked from Clones/Controlify
🐛 Prevent disabling controller when pressing 'Maybe Later' on the calibration screen if the controller is already calibrated.
This commit is contained in:
@ -196,9 +196,12 @@ public class ControllerCalibrationScreen extends Screen {
|
|||||||
|
|
||||||
private void onLaterButtonPress() {
|
private void onLaterButtonPress() {
|
||||||
if (!calibrated) {
|
if (!calibrated) {
|
||||||
|
if (!controller.config().deadzonesCalibrated) {
|
||||||
controller.config().delayedCalibration = true;
|
controller.config().delayedCalibration = true;
|
||||||
Controlify.instance().config().setDirty();
|
Controlify.instance().config().setDirty();
|
||||||
Controlify.instance().setCurrentController(null);
|
Controlify.instance().setCurrentController(null);
|
||||||
|
}
|
||||||
|
|
||||||
onClose();
|
onClose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user