fix mask coords... might wanna change cpu output?

This commit is contained in:
2025-11-20 23:01:01 -05:00
parent dff72d2c43
commit acd67179b7
2 changed files with 18 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ pub struct Masked {
impl Widget for Masked {
fn draw(&mut self, painter: &mut Painter) {
println!("yahoo! {}", painter.region());
painter.set_mask(painter.region());
painter.widget(&self.inner);
}