mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
revert chat clicking change (broke scrolling)
Former-commit-id: f43f3fd97c01dc304f29fcc852ab9909e6d00620
This commit is contained in:
parent
eb3d8310f8
commit
d13430d51e
@ -134,7 +134,6 @@ impl<'a> Widget for Chat<'a> {
|
||||
})
|
||||
.set(state.ids.message_box_bg, ui);
|
||||
let (mut items, _) = List::flow_down(state.messages.len() + 1)
|
||||
.graphics_for(state.ids.input)
|
||||
.top_left_of(state.ids.message_box_bg)
|
||||
.w_h(470.0, 174.0)
|
||||
.scroll_kids_vertically()
|
||||
@ -143,7 +142,6 @@ impl<'a> Widget for Chat<'a> {
|
||||
// This would be easier if conrod used the v-metrics from rusttype
|
||||
let widget = if item.i < state.messages.len() {
|
||||
let text = Text::new(&state.messages[item.i])
|
||||
.graphics_for(state.ids.input)
|
||||
.font_size(15)
|
||||
.font_id(self.fonts.opensans)
|
||||
.w(470.0)
|
||||
|
Loading…
Reference in New Issue
Block a user