diff --git a/src/docs/_static/draw3.svg b/src/docs/_static/draw3.svg index 6485a0d..7388833 100644 --- a/src/docs/_static/draw3.svg +++ b/src/docs/_static/draw3.svg @@ -105,10 +105,10 @@ R4 - + Q3 - + BC547 diff --git a/src/draw/src/lib.rs b/src/draw/src/lib.rs index 5c15570..c9a4ec3 100644 --- a/src/draw/src/lib.rs +++ b/src/draw/src/lib.rs @@ -573,11 +573,11 @@ impl Draw { } else { el::JUSTIFY_LEFT }; - if !mirror.is_empty() { - orientation = if orientation == el::JUSTIFY_RIGHT { - el::JUSTIFY_LEFT - } else { - el::JUSTIFY_RIGHT + if !mirror.is_empty() && mirror.contains('y') { + orientation = if orientation == el::JUSTIFY_RIGHT { + el::JUSTIFY_LEFT + } else { + el::JUSTIFY_RIGHT }; } orientation