mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 02:48:12 +08:00
Make Table<T> implement the IntoIterator trait
This commit is contained in:
@@ -288,7 +288,7 @@ impl<T: TableRowLayout> TableRowLayout for Table<T> {
|
||||
}
|
||||
|
||||
let mut rows = self
|
||||
.iter_ref()
|
||||
.iter()
|
||||
.enumerate()
|
||||
.map(|(index, row)| {
|
||||
let (scale, angle, translation) = row.transform.to_scale_angle_translation();
|
||||
|
||||
Reference in New Issue
Block a user