| @@ 3270-3287 (lines=18) @@ | ||
| 3267 | return true; |
|
| 3268 | } |
|
| 3269 | }, |
|
| 3270 | reflow: function () { |
|
| 3271 | var i; |
|
| 3272 | ReflowQueue.remove(this); |
|
| 3273 | if (this.visible()) { |
|
| 3274 | Control$1.repaintControls = []; |
|
| 3275 | Control$1.repaintControls.map = {}; |
|
| 3276 | this.recalc(); |
|
| 3277 | i = Control$1.repaintControls.length; |
|
| 3278 | while (i--) { |
|
| 3279 | Control$1.repaintControls[i].repaint(); |
|
| 3280 | } |
|
| 3281 | if (this.settings.layout !== 'flow' && this.settings.layout !== 'stack') { |
|
| 3282 | this.repaint(); |
|
| 3283 | } |
|
| 3284 | Control$1.repaintControls = []; |
|
| 3285 | } |
|
| 3286 | return this; |
|
| 3287 | } |
|
| 3288 | }); |
|
| 3289 | ||
| 3290 | var Scrollable = { |
|
| @@ 3244-3261 (lines=18) @@ | ||
| 3241 | return true; |
|
| 3242 | } |
|
| 3243 | }, |
|
| 3244 | reflow: function () { |
|
| 3245 | var i; |
|
| 3246 | ReflowQueue.remove(this); |
|
| 3247 | if (this.visible()) { |
|
| 3248 | Control$1.repaintControls = []; |
|
| 3249 | Control$1.repaintControls.map = {}; |
|
| 3250 | this.recalc(); |
|
| 3251 | i = Control$1.repaintControls.length; |
|
| 3252 | while (i--) { |
|
| 3253 | Control$1.repaintControls[i].repaint(); |
|
| 3254 | } |
|
| 3255 | if (this.settings.layout !== 'flow' && this.settings.layout !== 'stack') { |
|
| 3256 | this.repaint(); |
|
| 3257 | } |
|
| 3258 | Control$1.repaintControls = []; |
|
| 3259 | } |
|
| 3260 | return this; |
|
| 3261 | } |
|
| 3262 | }); |
|
| 3263 | ||
| 3264 | function getDocumentSize(doc) { |
|