Revert "egui upgrade: Fix Textedit frame size"

This reverts commit d514e3f7e9.
This commit is contained in:
Mike Dilger 2024-08-06 12:22:38 +12:00
parent 2898fb6258
commit 2c92bb6df4

View File

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