scale down default text

This commit is contained in:
Casper Lamboo 2018-02-21 12:23:54 +01:00
parent 5564e8b533
commit 42c2b1243f

View File

@ -21,7 +21,7 @@ export default function textReducer(state, action) {
return setActive2D(state, textId); return setActive2D(state, textId);
} else { } else {
return addObjectActive2D(state, { return addObjectActive2D(state, {
transform: new Matrix({ x: screenPosition.x, y: screenPosition.y }), transform: new Matrix({ x: screenPosition.x, y: screenPosition.y, sx: 0.5, sy: 0.5 }),
type: 'TEXT', type: 'TEXT',
text: { text: {
text: '', text: '',