p5.js-web-editor/client/modules/IDE/actions/preferences.js

26 lines
425 B
JavaScript
Raw Normal View History

2016-06-22 19:58:23 +00:00
import * as ActionTypes from '../../../constants';
export function openPreferences() {
2016-06-23 22:29:55 +00:00
return {
type: ActionTypes.OPEN_PREFERENCES
};
2016-06-22 19:58:23 +00:00
}
export function closePreferences() {
2016-06-23 22:29:55 +00:00
return {
type: ActionTypes.CLOSE_PREFERENCES
};
2016-06-22 19:58:23 +00:00
}
export function increaseFont() {
2016-06-23 22:29:55 +00:00
return {
type: ActionTypes.INCREASE_FONTSIZE
};
2016-06-22 19:58:23 +00:00
}
export function decreaseFont() {
2016-06-23 22:29:55 +00:00
return {
type: ActionTypes.DECREASE_FONTSIZE
};
}