Skip to content

Commit 22cf18a

Browse files
committed
Fix bad colour ID for [msg] highlighted background
1 parent dd99848 commit 22cf18a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Objects/MessageObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class MessageObject final : public ObjectBase
142142
auto const b = bounds.toFloat();
143143
auto const sb = b.reduced(0.5f); // reduce size of background to stop AA edges from showing through
144144

145-
auto const bgCol = isDown ? cnv->outlineCol : cnv->guiObjectBackgroundCol;
145+
auto const bgCol = isDown ? cnv->guiObjectInternalOutlineCol : cnv->guiObjectBackgroundCol;
146146

147147
// Draw background
148148
nvgDrawObjectWithFlag(nvg, sb.getX(), sb.getY(), sb.getWidth(), sb.getHeight(),

0 commit comments

Comments
 (0)