Browse Source

Fix Variable

Inputs on the right side of the operator are not marked with PARAM
(which denotes a haste input).  This fixes the display of the variable
operator so that the text on the right is displayed white and not cyan;
which matches Orca.
master
cmaughan 5 years ago
parent
commit
355051722b
  1. 2
      sim.c

2
sim.c

@ -671,7 +671,7 @@ END_OPERATOR
BEGIN_OPERATOR(variable) BEGIN_OPERATOR(variable)
LOWERCASE_REQUIRES_BANG; LOWERCASE_REQUIRES_BANG;
PORT(0, -1, IN | PARAM); PORT(0, -1, IN | PARAM);
PORT(0, 1, IN | PARAM); PORT(0, 1, IN);
Glyph left = PEEK(0, -1); Glyph left = PEEK(0, -1);
Glyph right = PEEK(0, 1); Glyph right = PEEK(0, 1);
if (left != '.') { if (left != '.') {

Loading…
Cancel
Save