remove timer

This commit is contained in:
Will McGugan
2025-10-06 15:13:37 +01:00
parent 7e82efcb41
commit 46cc18879e
2 changed files with 10 additions and 11 deletions

View File

@@ -54,16 +54,15 @@ class VerticalLayout(Layout):
else:
resolve_margin = Size(0, 0)
with timer("resolve_box_models"):
box_models = resolve_box_models(
[styles.height for styles in child_styles],
children,
size,
parent.app.size,
resolve_margin,
resolve_dimension="height",
greedy=greedy,
)
box_models = resolve_box_models(
[styles.height for styles in child_styles],
children,
size,
parent.app.size,
resolve_margin,
resolve_dimension="height",
greedy=greedy,
)
margins = [
(

View File

@@ -1650,8 +1650,8 @@ class Widget(DOMNode):
viewport,
width_fraction,
height_fraction,
greedy,
constrain_width,
greedy,
self._layout_updates,
self.styles._cache_key,
)