mirror of
https://github.com/osukey/osukey.git
synced 2025-07-16 15:59:58 +09:00
Use Update instead of UpdateAfterChildren (no need for the latter)
This commit is contained in:
@ -257,9 +257,9 @@ namespace osu.Game.Overlays.Chat
|
|||||||
lastExtent = null;
|
lastExtent = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void UpdateAfterChildren()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
base.UpdateAfterChildren();
|
base.Update();
|
||||||
|
|
||||||
// If the user has scrolled to the bottom of the container, we should resume tracking new content.
|
// If the user has scrolled to the bottom of the container, we should resume tracking new content.
|
||||||
if (UserScrolling && IsScrolledToEnd(auto_scroll_leniency))
|
if (UserScrolling && IsScrolledToEnd(auto_scroll_leniency))
|
||||||
@ -270,7 +270,8 @@ namespace osu.Game.Overlays.Chat
|
|||||||
|
|
||||||
if (requiresScrollUpdate)
|
if (requiresScrollUpdate)
|
||||||
{
|
{
|
||||||
ScheduleAfterChildren(() =>
|
// Schedule required to allow FillFlow to be the correct size.
|
||||||
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
if (!UserScrolling)
|
if (!UserScrolling)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user