elm_code: fix cursor position (100%)

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4905
This commit is contained in:
Al Poole 2017-05-24 21:18:19 +01:00 committed by Andy Williams
parent 99738e4d39
commit 66fd9839a0
1 changed files with 1 additions and 0 deletions

View File

@ -1938,6 +1938,7 @@ _elm_code_widget_resize(Elm_Code_Widget *widget, Elm_Code_Line *newline)
_elm_code_widget_scroll_by(widget,
(pd->gravity_x == 1.0 && ww > old_width) ? ww - old_width : 0,
(pd->gravity_y == 1.0 && wh > old_height) ? wh - old_height : 0);
elm_box_recalculate(pd->gridbox);
}
EOAPI void