Skip to content

Commit c634e1e

Browse files
committed
fix(forest): style set max width
1 parent 084453a commit c634e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

float-pigment-forest/src/style.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ impl StyleManager {
484484
}
485485

486486
pub(crate) fn set_max_width(&self, value: Length) -> bool {
487-
if self.size_limit_style().min_width == value {
487+
if self.size_limit_style().max_width == value {
488488
return false;
489489
}
490490
self.clone_style(StyleBit::SizeLimit);

0 commit comments

Comments
 (0)