* Present the same recently rendered Stage with only slight modifications such as a color change, * using the previous Stage values as a basis. * @param stage Partially populated Stage object containing changes. * @param modifyConfig Optional presentation configuration object.
(stage: Partial<Stage>, modifyConfig?: PresenterConfig)
| 237 | * @param modifyConfig Optional presentation configuration object. |
| 238 | */ |
| 239 | rePresent(stage: Partial<Stage>, modifyConfig?: PresenterConfig) { |
| 240 | const newStage = { ...this._last.stage, ...stage }; |
| 241 | this.setDeckProps(newStage, this._last.height, this._last.width, this._last.cubeCount, modifyConfig); |
| 242 | } |
| 243 | |
| 244 | private isNewBounds(view: View, height: number, width: number, cubeCount: number) { |
| 245 | const lastBounds: IBounds = this.lastBounds(); |
no test coverage detected