(size, initialSizes)
| 21610 | return { nav_height: scheduler3.xy.nav_height, scroll_width: scheduler3.xy.scroll_width, style_width: scheduler3._obj.style.width, style_height: scheduler3._obj.style.height, timeline_scrollable: scrollable, timeline_smart_rendering: smartRendering }; |
| 21611 | } |
| 21612 | function setExportSizes(size, initialSizes) { |
| 21613 | scheduler3._obj.style.width = size.x + "px"; |
| 21614 | scheduler3._obj.style.height = size.y + "px"; |
| 21615 | scheduler3.xy.nav_height = 0; |
| 21616 | scheduler3.xy.scroll_width = 0; |
| 21617 | var timeline = getTimeline(); |
| 21618 | if (initialSizes.timeline_scrollable || initialSizes.timeline_smart_rendering) { |
| 21619 | timeline.scrollable = false; |
| 21620 | timeline.smart_rendering = false; |
| 21621 | } |
| 21622 | } |
| 21623 | function setInitialSizes(initialSizes) { |
| 21624 | scheduler3.xy.scroll_width = initialSizes.scroll_width; |
| 21625 | scheduler3.xy.nav_height = initialSizes.nav_height; |
no test coverage detected