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 true;
|
||||
// don't render text element that's being currently edited (it's
|
||||
// rendered on remote only)
|
||||
return (
|
||||
!this.state.editingElement ||
|
||||
this.state.editingElement.type !== "text" ||
|
||||
element.id !== this.state.editingElement.id
|
||||
);
|
||||
// return (
|
||||
// !this.state.editingElement ||
|
||||
// this.state.editingElement.type !== "text" ||
|
||||
// element.id !== this.state.editingElement.id
|
||||
// );
|
||||
});
|
||||
|
||||
const selectionColor = getComputedStyle(
|
||||
|
|
|
@ -304,7 +304,8 @@ export const textWysiwyg = ({
|
|||
),
|
||||
textAlign,
|
||||
verticalAlign,
|
||||
color: updatedTextElement.strokeColor,
|
||||
// color: updatedTextElement.strokeColor,
|
||||
color: "red",
|
||||
opacity: updatedTextElement.opacity / 100,
|
||||
filter: "var(--theme-filter)",
|
||||
maxHeight: `${editorMaxHeight}px`,
|
||||
|
|
Loading…
Add table
Reference in a new issue