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

This commit is contained in:
iris committed 2025-11-20 23:01:01 -05:00
1 parent dff72d2c43
commit acd67179b7
2 files changed
+18 -4

No files matched your search

+1
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);
}