mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
remove timer
This commit is contained in:
@@ -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 = [
|
||||
(
|
||||
|
||||
@@ -1650,8 +1650,8 @@ class Widget(DOMNode):
|
||||
viewport,
|
||||
width_fraction,
|
||||
height_fraction,
|
||||
greedy,
|
||||
constrain_width,
|
||||
greedy,
|
||||
self._layout_updates,
|
||||
self.styles._cache_key,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user