Live update tex tool text
This commit is contained in:
@@ -313,7 +313,7 @@ class UIHeader {
|
|||||||
if (Context.tool == ToolText) {
|
if (Context.tool == ToolText) {
|
||||||
var h = Id.handle();
|
var h = Id.handle();
|
||||||
h.text = Context.textToolText;
|
h.text = Context.textToolText;
|
||||||
Context.textToolText = ui.textInput(h, "");
|
Context.textToolText = ui.textInput(h, "", Left, true, true);
|
||||||
if (h.changed) {
|
if (h.changed) {
|
||||||
ui.g.end();
|
ui.g.end();
|
||||||
RenderUtil.makeTextPreview();
|
RenderUtil.makeTextPreview();
|
||||||
|
|||||||
Reference in New Issue
Block a user