Replace deprecated egui function
This commit is contained in:
@ -170,7 +170,7 @@ impl FileEditor {
|
||||
dragger_rect.set_height(item_response.response.rect.height());
|
||||
|
||||
// Controls for moving the buffer item
|
||||
ui.allocate_new_ui(
|
||||
ui.scope_builder(
|
||||
UiBuilder::new()
|
||||
.max_rect(dragger_rect)
|
||||
.layout(Layout::top_down(Align::Center)),
|
||||
|
||||
Reference in New Issue
Block a user