aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/gfx.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-24 12:18:01 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-24 12:18:01 +0200
commit9d38907e95dac76a6b9754562752c36e3f65b9ec (patch)
treed1b62a51b051c7493e03286074fd54e6cca39fdb /ice40/gfx.cc
parent7858663aa7f211cebde2d543f7d0094d84ca11b1 (diff)
downloadnextpnr-9d38907e95dac76a6b9754562752c36e3f65b9ec.tar.gz
nextpnr-9d38907e95dac76a6b9754562752c36e3f65b9ec.tar.bz2
nextpnr-9d38907e95dac76a6b9754562752c36e3f65b9ec.zip
Add G_ARROW (for now same look as G_LINE)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/gfx.cc')
-rw-r--r--ice40/gfx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/gfx.cc b/ice40/gfx.cc
index f6ed789f..1b01cbd8 100644
--- a/ice40/gfx.cc
+++ b/ice40/gfx.cc
@@ -647,7 +647,7 @@ void pipGfx(std::vector<GraphicElement> &g, int x, int y, float x1, float y1, fl
float ty = 0.5 * (y1 + y2);
GraphicElement el;
- el.type = GraphicElement::G_LINE;
+ el.type = GraphicElement::G_ARROW;
el.style = style;
if (fabsf(x1 - swx1) < 0.001 && fabsf(x2 - swx1) < 0.001) {