Replace deprecated egui function

This commit is contained in:
2025-07-07 13:12:30 +02:00
parent 462c27e111
commit 38d26f0028

View File

@ -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)),