From 0dd92c6e15d95a044a43298f156965b0fb6ff802 Mon Sep 17 00:00:00 2001 From: Sojourner Truth <jon.w.wilkes@gmail.com> Date: Tue, 23 Aug 2016 23:45:46 -0400 Subject: [PATCH] apply fill color when drawing new iemgui label --- pd/nw/pdgui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index 322129077..b25463f89 100644 --- a/pd/nw/pdgui.js +++ b/pd/nw/pdgui.js @@ -2406,6 +2406,7 @@ function gui_iemgui_label_new(cid, tag, x, y, color, text, fontname, fontweight, // for some reason the font looks bold in Pd-Vanilla-- not sure why "font-weight": fontweight, "font-size": fontsize + "px", + fill: color, // Iemgui labels are anchored "w" (left-aligned to non-tclers). // For no good reason, they are also centered vertically, unlike // object box text. Since svg text uses the baseline as a reference -- GitLab