kopia lustrzana https://github.com/Tldraw/Tldraw
whoops: this shouldnt be here
rodzic
eb342638d6
commit
ef11364612
|
@ -19,8 +19,6 @@ export function useEditableText(id: TLShapeId, type: string, text: string) {
|
|||
])
|
||||
|
||||
useEffect(() => {
|
||||
if (!isEditing) return
|
||||
|
||||
function selectAllIfEditing({ shapeId }: { shapeId: TLShapeId }) {
|
||||
if (shapeId === id) {
|
||||
rInput.current?.select()
|
||||
|
|
Ładowanie…
Reference in New Issue