mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'kalikatz/tweak_to_chat_scroll_issue' into 'master'
Kalikatz/tweak to chat scroll issue See merge request veloren/veloren!2962
This commit is contained in:
commit
086b4bece8
@ -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