mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
updated slideshow script
This commit is contained in:
@@ -411,7 +411,7 @@ const initializeEventListners = () => {
|
||||
|
||||
const exitPresentation = async (openForEdit = false) => {
|
||||
if(openForEdit) ea.targetView.preventAutozoom();
|
||||
if(!app.isMobile && !inPopoutWindow) await document.exitFullscreen();
|
||||
if(!app.isMobile && !inPopoutWindow && document?.fullscreenElement) await document.exitFullscreen();
|
||||
if(app.isMobile) {
|
||||
ea.viewToggleFullScreen(true);
|
||||
} else {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -86,13 +86,13 @@ export const setDynamicStyle = (
|
||||
`--sidebar-shadow: ${str(gray1)};` +
|
||||
`--popup-text-color: ${str(text)};` +
|
||||
`--code-normal: ${str(text)};` +
|
||||
`--code-background: ${str(gray2)};` +
|
||||
`--h1-color: ${str(text)};` +
|
||||
`--h2-color: ${str(text)};` +
|
||||
`--h3-color: ${str(text)};` +
|
||||
`--h4-color: ${str(text)};` +
|
||||
`color: ${str(text)};` +
|
||||
`--select-highlight-color: ${str(gray1)};` +
|
||||
`--popup-bg-color: ${str(text)};`;
|
||||
`--select-highlight-color: ${str(gray1)};`;
|
||||
|
||||
view.excalidrawContainer?.setAttribute(
|
||||
"style",
|
||||
|
||||
Reference in New Issue
Block a user