Assign gutter widht on editor view when painting element
This commit is contained in:
parent
15f6fbf53b
commit
86865431b9
2 changed files with 5 additions and 4 deletions
|
@ -1468,6 +1468,7 @@ impl EditorElement {
|
|||
gutter_margin = Pixels::ZERO;
|
||||
};
|
||||
|
||||
editor.gutter_width = gutter_width;
|
||||
let text_width = bounds.size.width - gutter_width;
|
||||
let overscroll = size(em_width, px(0.));
|
||||
let snapshot = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue