| 718 | } |
| 719 | |
| 720 | float _InspectorWindow::calcWindowWidth() const |
| 721 | { |
| 722 | if (isCell()) { |
| 723 | return StyleRepository::get().scale(CellWindowWidth); |
| 724 | } else { |
| 725 | return StyleRepository::get().scale(ParticleWindowWidth); |
| 726 | } |
| 727 | } |
| 728 | |
| 729 | void _InspectorWindow::validateAndCorrect(CellDescription& cell) const |
| 730 | { |