[O] Make numbers unselectable
This commit is contained in:
@@ -6,6 +6,7 @@ const N = ({className, value, setNum, editorMode, ...props}) => {
|
||||
|
||||
return (<span className={multiStyles(styles, ["number", className])} {...props}>
|
||||
{editorMode && <input
|
||||
disabled
|
||||
onChange={(e) => setNum(parseInt(e.target.value))}
|
||||
value={v}
|
||||
/> || v}
|
||||
|
||||
@@ -191,6 +191,7 @@ $animationFillMode: forwards;
|
||||
justify-content: center;
|
||||
height: $edgeLength;
|
||||
width: $edgeLength;
|
||||
user-select: none;
|
||||
|
||||
.invalid {
|
||||
color: $invalidColor;
|
||||
|
||||
Reference in New Issue
Block a user