summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty')
-rw-r--r--graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty b/graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty
index 25a5b5f9e8..8ed0088ca2 100644
--- a/graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty
+++ b/graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty
@@ -133,7 +133,10 @@
\IfBooleanTF{#1}{%
\draw (0,0) node[#3,scale=#2, fill=fillcol](N){#5};
}{
- \draw (0,0) node[#3,scale=#2](N){#5};
+ % if it's non-fillable, red should not go through
+ \draw (0,0) node[#3,scale=#2,
+ % fill=red
+ ](N){#5};
}
\IfValueT{#6}{%
\foreach \n/\a/\d in {#6} \path(N.\n) \showcoord(\n)<\a:\d>;
@@ -164,7 +167,10 @@
\IfBooleanTF{#1}{%
\draw (0,0) to[#3, name=B, fill=fillcol] (2,0);
}{
- \draw (0,0) to[#3, name=B] (2,0);
+ % if it's non-fillable, red should not go through
+ \draw (0,0) to[#3, name=B,
+ %fill=red
+ ] (2,0);
}
\IfValueT{#7}{%
\foreach \n/\a/\d in {#7} \path(B.\n) \showcoord(\n)<\a:\d>;