Take into account a zoom level to scale slide by polyfill #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It will fix incorrect scaling of slide by
@marp-team/marpit-svg-polyfill
, by taking into account VS Code's zoom level.Current VSCode has a serious rendering bug caused by an old Chromium and we have to apply WebKit Polyfill for scaling. However, it had not considered window's zoom factor. (marp-team/marpit-svg-polyfill#3)
I've updated polyfill that can be considering window zoom scale. (marp-team/marpit-svg-polyfill#4)
Today, it is difficult to detect a zoom factor within browser context. We will read VS Code's
window.zoomLevel
setting before rendering Markdown and use calculated zoom factor in preview.Resolve #8.