egui upgrade: Fix Textedit frame size

This commit is contained in:
Bu5hm4nn 2024-07-22 22:24:58 +02:00
parent 76d4f904c9
commit d514e3f7e9

View File

@ -162,7 +162,7 @@ impl<'t> TextEdit<'t> {
{
let theme = self.theme;
let response = &output.response;
let frame_rect = response.rect;
let frame_rect = response.rect + margin;
// this is how egui chooses the visual style:
#[allow(clippy::if_same_then_else)]