mirror of https://github.com/buggins/dlangui.git
Excessive item measure in ListWidget onDraw(), related to #347
This commit is contained in:
parent
f37fa6970b
commit
484e3769ce
|
@ -1188,7 +1188,6 @@ class ListWidget : WidgetGroup, OnScrollHandler, OnAdapterChangeHandler {
|
||||||
Widget w = itemWidget(i);
|
Widget w = itemWidget(i);
|
||||||
if (w is null || w.visibility != Visibility.Visible)
|
if (w is null || w.visibility != Visibility.Visible)
|
||||||
continue;
|
continue;
|
||||||
w.measure(itemrc.width, itemrc.height);
|
|
||||||
w.layout(itemrc);
|
w.layout(itemrc);
|
||||||
w.onDraw(buf);
|
w.onDraw(buf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue