mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
scale down default text
This commit is contained in:
parent
5564e8b533
commit
42c2b1243f
@ -21,7 +21,7 @@ export default function textReducer(state, action) {
|
||||
return setActive2D(state, textId);
|
||||
} else {
|
||||
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',
|
||||
text: {
|
||||
text: '',
|
||||
|
Loading…
Reference in New Issue
Block a user