()
| 2931 | } |
| 2932 | |
| 2933 | async function resized() |
| 2934 | { |
| 2935 | if(onLoadPromise) await onLoadPromise.promise; |
| 2936 | |
| 2937 | originalRect = false; |
| 2938 | originalRectReadingBody = false; |
| 2939 | originalRect2 = false; |
| 2940 | originalRectReadingBody2 = false; |
| 2941 | contentLeftRect = false; |
| 2942 | contentRightRect = false; |
| 2943 | barHeaderRect = false; |
| 2944 | |
| 2945 | if((onReading || _onReading) && isLoaded) |
| 2946 | { |
| 2947 | if(!readingIsEbook) |
| 2948 | { |
| 2949 | disposeImages(); |
| 2950 | zoomScrollHeight(); |
| 2951 | calculateView(); |
| 2952 | stayInLine(true); |
| 2953 | } |
| 2954 | |
| 2955 | render.resized(doublePage.active()); |
| 2956 | fastUpdateEbookPages(false, true); |
| 2957 | generateEbookPagesDelayed(); |
| 2958 | hideMouseInFullscreen(); |
| 2959 | } |
| 2960 | |
| 2961 | // getPreviusContentSize(); |
| 2962 | } |
| 2963 | |
| 2964 | var hiddenContentLeft = false, hiddenBarHeader = false, hideContentDisableTransitionsST = false, hideContentST = false, hideContentRunningST = false, shownContentLeft = false, shownBarHeader = false; |
| 2965 |
no test coverage detected