summaryrefslogtreecommitdiff
path: root/frontend/views/page/components
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-07-11 16:02:01 +0200
committerJules Laplace <julescarbon@gmail.com>2020-07-11 16:02:01 +0200
commitcf4098b20dadcd378ef2730f32f70e327ab262b4 (patch)
tree7683817932967b083fd3447649f127d461d802fb /frontend/views/page/components
parent52531fbc8d3531a7941ad9c6c79a1e353d35f2fa (diff)
making sure cursors and css are good in the main site
Diffstat (limited to 'frontend/views/page/components')
-rw-r--r--frontend/views/page/components/tile.handle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/views/page/components/tile.handle.js b/frontend/views/page/components/tile.handle.js
index f3a700b..bd47ae9 100644
--- a/frontend/views/page/components/tile.handle.js
+++ b/frontend/views/page/components/tile.handle.js
@@ -11,7 +11,7 @@ const TileHandle = ({ tile, bounds, box, viewing, onMouseDown, onDoubleClick })
// console.log(generateTransform(tile))
let content;
let className = ['tile', tile.type].join(' ')
- if (tile.target_page_id) {
+ if (tile.target_page_id || (viewing && tile.href)) {
className += ' ' + (tile.settings.cursor || 'hand_up')
}
// console.log(tile.settings)