mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Make the Text tool control bar font family, style, and size sync with the selected layer (#4118)
* Fix contenteditable preview alignment * Make the Text tool control bar font family, style, and size sync with the selected layer * Tidying up
This commit is contained in:
@@ -380,6 +380,7 @@
|
||||
textInput.style.fontSize = `${data.fontSize}px`;
|
||||
textInput.style.color = data.color;
|
||||
textInput.style.textAlign = data.align;
|
||||
textInput.style.textAlignLast = data.alignLast;
|
||||
|
||||
textInput.oninput = () => {
|
||||
if (!textInput) return;
|
||||
|
||||
Reference in New Issue
Block a user