mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
[debug]
This commit is contained in:
parent
895f35ae18
commit
9dab749dfd
2 changed files with 8 additions and 6 deletions
|
@ -1348,13 +1348,14 @@ class App extends React.Component<AppProps, AppState> {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
// don't render text element that's being currently edited (it's
|
// don't render text element that's being currently edited (it's
|
||||||
// rendered on remote only)
|
// rendered on remote only)
|
||||||
return (
|
// return (
|
||||||
!this.state.editingElement ||
|
// !this.state.editingElement ||
|
||||||
this.state.editingElement.type !== "text" ||
|
// this.state.editingElement.type !== "text" ||
|
||||||
element.id !== this.state.editingElement.id
|
// element.id !== this.state.editingElement.id
|
||||||
);
|
// );
|
||||||
});
|
});
|
||||||
|
|
||||||
const selectionColor = getComputedStyle(
|
const selectionColor = getComputedStyle(
|
||||||
|
|
|
@ -304,7 +304,8 @@ export const textWysiwyg = ({
|
||||||
),
|
),
|
||||||
textAlign,
|
textAlign,
|
||||||
verticalAlign,
|
verticalAlign,
|
||||||
color: updatedTextElement.strokeColor,
|
// color: updatedTextElement.strokeColor,
|
||||||
|
color: "red",
|
||||||
opacity: updatedTextElement.opacity / 100,
|
opacity: updatedTextElement.opacity / 100,
|
||||||
filter: "var(--theme-filter)",
|
filter: "var(--theme-filter)",
|
||||||
maxHeight: `${editorMaxHeight}px`,
|
maxHeight: `${editorMaxHeight}px`,
|
||||||
|
|
Loading…
Add table
Reference in a new issue