| 1522 | |
| 1523 | |
| 1524 | std::optional<timeline::Point> Item::top_left(const Uuid &_uuid) const { |
| 1525 | |
| 1526 | if (_uuid == uuid()) { |
| 1527 | return top_left(); |
| 1528 | } else { |
| 1529 | auto b = box(_uuid); |
| 1530 | if (b) |
| 1531 | return b->first; |
| 1532 | } |
| 1533 | |
| 1534 | return {}; |
| 1535 | } |
| 1536 | |
| 1537 | timeline::Point Item::top_left() const { return std::make_pair(0, 0); } |
| 1538 |