()
| 170 | } |
| 171 | |
| 172 | protected void left() { |
| 173 | selected().map(a -> a.properties.get(Box.frame).x) |
| 174 | .min(Float::compare) |
| 175 | .ifPresent(x -> { |
| 176 | selected().forEach(bx -> { |
| 177 | set(bx, z -> z.x = x.floatValue()); |
| 178 | bx.properties.get(Box.frame).x = x.floatValue(); |
| 179 | }); |
| 180 | Drawing.dirty(this); |
| 181 | }); |
| 182 | } |
| 183 | |
| 184 | private void right() { |
| 185 | selected().map(a -> a.properties.get(Box.frame).x + a.properties.get(Box.frame).w) |