mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
Cursor: desktoip only
This commit is contained in:
parent
2abf8ca580
commit
09a36bab6c
2 changed files with 12 additions and 7 deletions
|
@ -30,7 +30,7 @@ export class Cursor extends React.PureComponent<Props, {}> {
|
|||
const activeSticker = (sticker && set && STICKERS[set] && STICKERS[set].layers[sticker]);
|
||||
|
||||
return (
|
||||
<div className="cursor-tooltip" ref={el => { this.cursor = el; }}>
|
||||
<div className="cursor-tooltip desktop-only" ref={el => { this.cursor = el; }}>
|
||||
{ mode === MODES.ROUTER && <Icon icon="icon-router" />}
|
||||
{ mode === MODES.POLY && <Icon icon="icon-poly" />}
|
||||
{ mode === MODES.STICKERS && activeSticker && <StickerIcon sticker={sticker} set={set} /> }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue