The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge ../birdfont-2.x

Changes made to libbirdfont/KerningDisplay.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/KerningDisplay.vala +++ libbirdfont/KerningDisplay.vala @@ -158,7 +158,7 @@ row_height = get_row_height (); alpha = 1; - y = get_row_height () + font.base_line + 20; + y = get_row_height () - font.base_line + 20; x = 20; w = 0; prev = null; @@ -294,7 +294,7 @@ // draw caret if (first_row) { x2 = x; - caret_y = get_row_height () + font.base_line + 20; + caret_y = get_row_height () - font.base_line + 20; cr.save (); cr.set_line_width (1.0 / KerningTools.font_size); Theme.color_opacity (cr, "Foreground 1", 0.5);