Fix user select on tooltips

This commit is contained in:
Steve Ruiz 2021-08-30 14:08:11 +01:00
parent 2937016ae0
commit 15bbe6ab92
2 changed files with 4 additions and 0 deletions

View file

@ -37,6 +37,7 @@ const StyledContent = styled(RadixTooltip.Content, {
display: 'flex',
alignItems: 'center',
fontFamily: '$ui',
userSelect: 'none',
})
const StyledArrow = styled(RadixTooltip.Arrow, {

View file

@ -11,6 +11,9 @@ import {
import { defaultStyle, getPerfectDashProps, getShapeStyle } from '~shape/shape-styles'
import getStroke from 'perfect-freehand'
// TODO
// [ ] Improve indicator shape for drawn shapes
export class Ellipse extends TLDrawShapeUtil<EllipseShape> {
type = TLDrawShapeType.Ellipse as const
toolType = TLDrawToolType.Bounds