p5.js-web-editor/client/modules/IDE/actions/preferences.js
2016-07-06 11:27:39 -04:00

37 lines
629 B
JavaScript

import * as ActionTypes from '../../../constants';
export function openPreferences() {
return {
type: ActionTypes.OPEN_PREFERENCES
};
}
export function closePreferences() {
return {
type: ActionTypes.CLOSE_PREFERENCES
};
}
export function increaseFont() {
return {
type: ActionTypes.INCREASE_FONTSIZE
};
}
export function decreaseFont() {
return {
type: ActionTypes.DECREASE_FONTSIZE
};
}
export function increaseIndentation() {
return {
type: ActionTypes.INCREASE_INDENTATION
};
}
export function decreaseIndentation() {
return {
type: ActionTypes.DECREASE_INDENTATION
};
}