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

26 lines
425 B
JavaScript
Raw Normal View History

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