stickers: text editing

This commit is contained in:
muerwre 2018-12-05 16:00:37 +07:00
parent fa9bff5756
commit f183c8593d
6 changed files with 130 additions and 21 deletions

View file

@ -6,7 +6,7 @@ import { Router } from '$modules/Router';
import { DEFAULT_LOGO } from '$constants/logos';
import { parseStickerAngle, parseStickerStyle } from '$utils/import';
import { getUrlData, pushPath } from '$utils/history';
import { getUrlData } from '$utils/history';
import { store } from '$redux/store';
import {
resetSaveDialog,
@ -236,6 +236,7 @@ export class Editor {
latlng: sticker.latlng,
angle: parseStickerAngle({ sticker, version }),
sticker: parseStickerStyle({ sticker, version }),
text: sticker.text,
}));
}