Первая растеризация
This commit is contained in:
@@ -142,9 +142,6 @@ pub fn updateVisibleImageRect(self: *Canvas, viewport: dvui.Rect, scroll_offset:
|
||||
changed |= next.x != vis.x or next.y != vis.y or next.w != vis.w or next.h != vis.h;
|
||||
}
|
||||
self._visible_rect = next;
|
||||
if (changed) {
|
||||
std.debug.print("Visible Image Rect: {{ x: {}, y: {}, w: {}, h: {} }}\n", .{ next.x, next.y, next.w, next.h });
|
||||
}
|
||||
if (changed or self.texture == null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user