Allow layout to be calculated without specifying width
This commit is contained in:
parent
a3a6262e5d
commit
b288de13ae
4 changed files with 66 additions and 32 deletions
|
|
@ -294,7 +294,7 @@ impl Buffer {
|
|||
&mut self.scratch,
|
||||
font_system,
|
||||
self.metrics.font_size,
|
||||
self.width,
|
||||
Some(self.width),
|
||||
self.wrap,
|
||||
self.monospace_width,
|
||||
self.tab_width,
|
||||
|
|
@ -528,7 +528,7 @@ impl Buffer {
|
|||
&mut self.scratch,
|
||||
font_system,
|
||||
self.metrics.font_size,
|
||||
self.width,
|
||||
Some(self.width),
|
||||
self.wrap,
|
||||
self.monospace_width,
|
||||
self.tab_width,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue