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