FLTK logo

[master] f7a1777 - Fix for issue: Arrows have a "gap" (#561)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] f7a1777 - Fix for issue: Arrows have a "gap" (#561) "ManoloFLTK" Nov 29, 2022  
 
commit f7a1777017a6d20bf0a0a255937709bf9b33e458
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Nov 29 09:46:47 2022 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Nov 29 09:47:08 2022 +0100

    Fix for issue: Arrows have a "gap" (#561)

 src/fl_symbols.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git src/fl_symbols.cxx src/fl_symbols.cxx
index 2f86c23..d15cfae 100644
--- src/fl_symbols.cxx
+++ src/fl_symbols.cxx
@@ -238,8 +238,8 @@ static void draw_search(Fl_Color col)
 static void draw_arrow1(Fl_Color col)
 {
   fl_color(col);
-  BP; vv(-0.8,-0.4); vv(-0.8,0.4); vv(0.0,0.4); vv(0.0,-0.4); EP;
-  BP; vv(0.0,0.8); vv(0.8,0.0); vv(0.0,-0.8); vv(0.0,-0.4); vv(0.0,0.4); EP;
+  BP; vv(-0.8,-0.4); vv(-0.8,0.4); vv(0.0,0.4); vv(0.0,0.8); vv(0.8,0.0);
+  vv(0.0,-0.8); vv(0.0,-0.4); EP;
   set_outline_color(col);
   BC; vv(-0.8,-0.4); vv(-0.8,0.4); vv(0.0,0.4); vv(0.0,0.8); vv(0.8,0.0);
       vv(0.0,-0.8); vv(0.0,-0.4); EC;
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.