+ {
+ for (const selectable of selectables) {
+ selectable.style.color = color?.toJSON() ?? "#000000";
+ }
+ })}
+ onChangeEnd={action(() => {
+ projectState.undoManager.stopCapturing();
+ })}
+ />
s.style.fontFamily}
set={(s, value) => {
@@ -151,22 +132,95 @@ export const TextPane: React.FC = observer(function TextPane() {
}}
/>
- s.style.textHorizontalAlign}
- set={(s, value) => {
- s.style.textHorizontalAlign = value ?? "start";
- }}
- />
- s.style.textVerticalAlign}
- set={(s, value) => {
- s.style.textVerticalAlign = value ?? "start";
- }}
- />
+