Start bringing back the current call section of the collab panel
Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
26ae31b503
commit
63667ecf6f
8 changed files with 782 additions and 772 deletions
|
@ -1753,7 +1753,7 @@ impl EditorElement {
|
|||
let gutter_width;
|
||||
let gutter_margin;
|
||||
if snapshot.show_gutter {
|
||||
let descent = cx.text_system().descent(font_id, font_size).unwrap();
|
||||
let descent = cx.text_system().descent(font_id, font_size);
|
||||
|
||||
let gutter_padding_factor = 3.5;
|
||||
gutter_padding = (em_width * gutter_padding_factor).round();
|
||||
|
@ -3628,7 +3628,7 @@ fn compute_auto_height_layout(
|
|||
let gutter_width;
|
||||
let gutter_margin;
|
||||
if snapshot.show_gutter {
|
||||
let descent = cx.text_system().descent(font_id, font_size).unwrap();
|
||||
let descent = cx.text_system().descent(font_id, font_size);
|
||||
let gutter_padding_factor = 3.5;
|
||||
gutter_padding = (em_width * gutter_padding_factor).round();
|
||||
gutter_width = max_line_number_width + gutter_padding * 2.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue