summaryrefslogtreecommitdiff
path: root/frontend/app/views/page/page.actions.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-04-01 17:30:37 +0200
committerJules Laplace <julescarbon@gmail.com>2021-04-01 17:30:37 +0200
commit7e344419330855dbbf10896c39e91b4e6861dd57 (patch)
treea8baae6cb875a3e8dad47bc4d8392738445f00fd /frontend/app/views/page/page.actions.js
parent5cafa9d43b769e6f60740f59293ddf3588e7b8ad (diff)
displaying custom cursors on the frontend
Diffstat (limited to 'frontend/app/views/page/page.actions.js')
-rw-r--r--frontend/app/views/page/page.actions.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/app/views/page/page.actions.js b/frontend/app/views/page/page.actions.js
index e42d539..4a87a7f 100644
--- a/frontend/app/views/page/page.actions.js
+++ b/frontend/app/views/page/page.actions.js
@@ -50,6 +50,16 @@ export const toggleTileList = () => dispatch => {
dispatch({ type: types.page.toggle_tile_list })
}
+// Cursor list
+
+export const toggleCursorList = visible => dispatch => {
+ dispatch({ type: types.page.toggle_cursor_list, visible })
+}
+
+export const pickCursor = cursor => dispatch => {
+ dispatch({ type: types.page.pick_cursor, cursor })
+}
+
// Popups
export const loadPopups = (page, popups) => dispatch => {