chore: bump version to 0.0.29
All checks were successful
Deploy to Production / deploy (push) Successful in 9s
All checks were successful
Deploy to Production / deploy (push) Successful in 9s
This commit is contained in:
@@ -29,11 +29,19 @@ self.onmessage = (e) => {
|
||||
sendUpdate();
|
||||
break;
|
||||
|
||||
case 'ROTATE_LAYER':
|
||||
case 'ROTATE_LAYER': {
|
||||
const { axis, index, direction } = payload;
|
||||
cube.rotateLayer(axis, index, direction);
|
||||
sendUpdate();
|
||||
break;
|
||||
}
|
||||
|
||||
case 'TURN': {
|
||||
const { move } = payload;
|
||||
cube.applyTurn(move);
|
||||
sendUpdate();
|
||||
break;
|
||||
}
|
||||
|
||||
case 'VALIDATE':
|
||||
const validation = cube.validate();
|
||||
|
||||
Reference in New Issue
Block a user