mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: scrollbars renders but disable (#6706)
This commit is contained in:
parent
fb01ce2a00
commit
8dfa2a98bb
5 changed files with 11 additions and 10 deletions
|
@ -41,10 +41,10 @@ export const getScrollBars = (
|
|||
const viewportHeightDiff = viewportHeight - viewportHeightWithZoom;
|
||||
|
||||
const safeArea = {
|
||||
top: parseInt(getGlobalCSSVariable("sat")),
|
||||
bottom: parseInt(getGlobalCSSVariable("sab")),
|
||||
left: parseInt(getGlobalCSSVariable("sal")),
|
||||
right: parseInt(getGlobalCSSVariable("sar")),
|
||||
top: parseInt(getGlobalCSSVariable("sat")) || 0,
|
||||
bottom: parseInt(getGlobalCSSVariable("sab")) || 0,
|
||||
left: parseInt(getGlobalCSSVariable("sal")) || 0,
|
||||
right: parseInt(getGlobalCSSVariable("sar")) || 0,
|
||||
};
|
||||
|
||||
const isRTL = getLanguage().rtl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue