| 95 | } |
| 96 | |
| 97 | Maybe<RectU> FramesSpecification::getRect(String const& frame) const { |
| 98 | if (auto alias = aliases.ptr(frame)) { |
| 99 | return frames.get(*alias); |
| 100 | } else { |
| 101 | return frames.maybe(frame); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | Json FramesSpecification::toJson() const { |
| 106 | return JsonObject{ |
no test coverage detected