mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
Use correct intrinsic_size in allocate_response
This commit is contained in:
@@ -1310,7 +1310,7 @@ impl Ui {
|
||||
) -> Response {
|
||||
let (id, rect) = self.allocate_space(desired_size, desired_size_2);
|
||||
let mut response = self.interact(rect, id, sense);
|
||||
response.intrinsic_size = Some(desired_size);
|
||||
response.intrinsic_size = Some(desired_size_2);
|
||||
response
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user