We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
resolve_clip_rect
1 parent 04933ec commit 4f28bc1Copy full SHA for 4f28bc1
crates/bevy_ui/src/ui_node.rs
@@ -268,7 +268,7 @@ impl ComputedNode {
268
overflow: Overflow,
269
overflow_clip_margin: OverflowClipMargin,
270
) -> Rect {
271
- let mut clip_rect = Rect::from_center_size(Vec2::ZERO, 0.5 * self.size);
+ let mut clip_rect = Rect::from_center_size(Vec2::ZERO, self.size);
272
273
let clip_inset = match overflow_clip_margin.visual_box {
274
OverflowClipBox::BorderBox => BorderRect::ZERO,
0 commit comments