Migrate to new Rectangle functions

This commit is contained in:
Ivan Molodetskikh
2025-01-04 10:14:51 +03:00
parent 1973b97cc2
commit a2f9d132a0
36 changed files with 160 additions and 159 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ mod imp {
case.advance_animations(self.clock.borrow_mut().now());
let rect: Rectangle<i32, Physical> = Rectangle::from_loc_and_size((0, 0), size);
let rect: Rectangle<i32, Physical> = Rectangle::from_size(Size::from(size));
let elements = unsafe {
with_framebuffer_save_restore(renderer, |renderer| {