Skip to content

Commit

Permalink
fix an extraneous unit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
asmuth committed Feb 1, 2020
1 parent 893b5c5 commit 99f6a8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/plot/labels.cc
Expand Up @@ -55,7 +55,6 @@ ReturnCode labels_draw(
{
bind(&convert_unit_typographic, ctx->dpi, ctx->font_size, _1),
bind(&convert_unit_user, scale_translate_fn(config->scale_x), _1),
bind(&convert_unit_relative, clip.w, _1)
},
&*config->x.begin(),
&*config->x.end());
Expand All @@ -64,7 +63,6 @@ ReturnCode labels_draw(
{
bind(&convert_unit_typographic, ctx->dpi, ctx->font_size, _1),
bind(&convert_unit_user, scale_translate_fn(config->scale_y), _1),
bind(&convert_unit_relative, clip.h, _1)
},
&*config->y.begin(),
&*config->y.end());
Expand Down

0 comments on commit 99f6a8f

Please sign in to comment.