mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Pass clip rectangle to PaintCallback
This commit is contained in:
@@ -380,7 +380,8 @@ impl Painter {
|
||||
}
|
||||
|
||||
let info = egui::PaintCallbackInfo {
|
||||
rect: callback.rect,
|
||||
viewport: callback.rect,
|
||||
clip_rect: *clip_rect,
|
||||
pixels_per_point,
|
||||
screen_size_px: inner_size,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user