Commit 0f3466cd authored by claes's avatar claes

Possibility to have a falling scale with higher values to the left was lost

parent 1f728f09
/* /*
* Proview $Id: glow_growaxis.cpp,v 1.4 2005-09-01 14:57:53 claes Exp $ * Proview $Id: glow_growaxis.cpp,v 1.5 2005-09-05 08:42:03 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -227,7 +227,7 @@ void GrowAxis::draw( GlowTransform *t, int highlight, int hot, void *node, ...@@ -227,7 +227,7 @@ void GrowAxis::draw( GlowTransform *t, int highlight, int hot, void *node,
if ( ctx->nodraw) if ( ctx->nodraw)
return; return;
int i; int i;
int draw_text = (increment > 0); int draw_text = (fabs(increment) > DBL_EPSILON);
int idx; int idx;
int x, y; int x, y;
char text[20]; char text[20];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment