From 78c954ac09e7bc93c3f5467755e2cf47f217b188 Mon Sep 17 00:00:00 2001 From: Henrik Ingo Date: Sun, 29 May 2022 11:41:25 +0300 Subject: [PATCH] Change default target resolution to HD 1920x1080. If you aren't setting target width and height explicitly in the root div, this change will likely affect the size and layout of your presentation steps. See DOCUMENTATION.md for details and how to fix. --- DOCUMENTATION.md | 14 +++++++++----- js/impress.js | 6 +++--- src/impress.js | 6 +++--- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index fabda868a..e95a2da57 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -21,8 +21,12 @@ You need to use pixel values. The pixel values used here correspond to the `data given to the `#impress` root element. When the presentation is viewed on a larger or smaller screen, impress.js will automatically scale the steps to fit the screen. -**NOTE:** I intend to change the defaults to target HD screens in 2021. So you may want to make a habit -of explicitly defining these attributes for now, to avoid any disruption when the defaults change. +**NOTE:** The default width and height have been changed to target HD screens in v1.2.0. If you +don't set target width and height explicitly, layout and dimensions of your presentations are likely +to be affected. In order to get back the old target resolution, use: + +