do not center text when not applicable (#1783)

This commit is contained in:
David Luzar
2020-06-25 21:21:27 +02:00
committed by GitHub
parent 9c89504b6f
commit cd87bd6901
16 changed files with 418 additions and 321 deletions

View File

@ -20,7 +20,7 @@ import { AppState } from "../../src/types";
import { t } from "../i18n";
import { register } from "./register";
import { newElementWith } from "../element/mutateElement";
import { DEFAULT_FONT_SIZE, DEFAULT_FONT_FAMILY } from "../appState";
import { DEFAULT_FONT_SIZE, DEFAULT_FONT_FAMILY } from "../constants";
const changeProperty = (
elements: readonly ExcalidrawElement[],