mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
tweak chat scroll issue
This commit is contained in:
parent
fef9fd5893
commit
768911aebe
@ -135,7 +135,7 @@ impl<'a> Chat<'a> {
|
|||||||
.widget(state.ids.message_box)
|
.widget(state.ids.message_box)
|
||||||
.and_then(|widget| widget.maybe_y_scroll_state)
|
.and_then(|widget| widget.maybe_y_scroll_state)
|
||||||
{
|
{
|
||||||
scroll.offset >= scroll.offset_bounds.start
|
scroll.offset + 50.0 >= scroll.offset_bounds.start
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user