~/Projects/FFCreator
git clone https://code.lsong.org/FFCreator
Commit
- Commit
- 67d63c40beb7bb6736593f732456ec10b95fe18a
- Author
- drawcall <[email protected]>
- Date
- 2021-09-02 11:50:32 +0800 +0800
- Diffstat
lib/node/text.js | 1 -
feat: Modify FFText registration point
diff --git a/lib/node/text.js b/lib/node/text.js index 031427d32128a9285728a5bd1d65ff5b294da5f6..07a3051bed8918f0784446e581690248cf132892 100755 --- a/lib/node/text.js +++ b/lib/node/text.js @@ -30,8 +30,7 @@ */ createDisplay() { const { text, fontSize = 36, color = '#000000' } = this.conf; this.display = new ProxyObj(); - * text.setBackgroundColor("#000000"); this.display.text = text; this.display.updateStyle({ fontSize, fill: color }); }